Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 202.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003165/0.3631, allocations: 1.609 MB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3642, allocations: 0.5154 MB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.3642, allocations: 0 / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3646, allocations: 127.6 kB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.365, allocations: 139.5 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3652, allocations: 88.16 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3654, allocations: 99.78 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3656, allocations: 17.81 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3656, allocations: 47.83 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3658, allocations: 95.75 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3658, allocations: 4 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3659, allocations: 47.97 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.366, allocations: 27.86 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.3661, allocations: 27.69 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3663, allocations: 127.4 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3663, allocations: 0 / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3663, allocations: 0 / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3663, allocations: 0 / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005703/0.3669, allocations: 365.4 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3669, allocations: 8.031 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.367, allocations: 42.73 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.367, allocations: 12.84 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3672, allocations: 170.3 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3672, allocations: 384 / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3673, allocations: 8.375 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3674, allocations: 53.61 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3674, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3675, allocations: 4 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3675, allocations: 4 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3676, allocations: 31.89 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.368, allocations: 263.9 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3681, allocations: 46.56 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.3682, allocations: 24.94 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3682, allocations: 0 / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.3683, allocations: 30.56 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3683, allocations: 0 / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009526/0.3692, allocations: 237.1 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3693, allocations: 55.34 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.3696, allocations: 279.8 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3696, allocations: 25.7 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3697, allocations: 112.1 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3698, allocations: 31.81 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3698, allocations: 25.7 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.37, allocations: 330.8 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.3701, allocations: 23.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.3701, allocations: 27.98 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3703, allocations: 65.05 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3703, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.3705, allocations: 105.5 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3705, allocations: 4 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3705, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3706, allocations: 4 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3707, allocations: 19.98 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3707, allocations: 3.938 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3707, allocations: 8 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3707, allocations: 7.984 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.3708, allocations: 135.1 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3709, allocations: 11.91 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.3712, allocations: 123 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3712, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3712, allocations: 15.88 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3712, allocations: 432 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.3718, allocations: 378.4 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3718, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.3719, allocations: 19.92 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3719, allocations: 4 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3719, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3719, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3719, allocations: 3.984 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3722, allocations: 220.2 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3722, allocations: 15.84 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3722, allocations: 4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.3723, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.3724, allocations: 11.98 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3724, allocations: 4 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.3726, allocations: 212.1 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3728, allocations: 19.94 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/0.3752, allocations: 1.143 MB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3755, allocations: 63.95 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3755, allocations: 0 / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.3756, allocations: 31.92 kB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.376, allocations: 25.39 kB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3783, allocations: 1.808 MB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3784, allocations: 109.1 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.3784, allocations: 12.97 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.3785, allocations: 39.42 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3785, allocations: 0 / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4094, allocations: 3.979 MB / 0.574 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.13, allocations: 10.22 kB / 0.574 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.296549527993193]