Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001717/0.001717, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00218/0.00218, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.93 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 59.91 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003938/0.361, allocations: 1.787 MB / 0.5588 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.3641, allocations: 1.734 MB / 0.5605 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.3642, allocations: 7.938 kB / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.3645, allocations: 43.7 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.365, allocations: 143.4 kB / 0.5606 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3652, allocations: 111.6 kB / 0.5608 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.3656, allocations: 211.3 kB / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.3656, allocations: 5.812 kB / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3658, allocations: 83.64 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.366, allocations: 79.59 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.366, allocations: 8 kB / 0.5611 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.3662, allocations: 111.9 kB / 0.5612 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.3663, allocations: 39.78 kB / 0.5613 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.3664, allocations: 51.66 kB / 0.5613 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3668, allocations: 225 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3668, allocations: 4 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3668, allocations: 3.938 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3668, allocations: 0 / 0.5615 GB, free: 2.863 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000704/0.3675, allocations: 436.9 kB / 0.562 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3675, allocations: 8.031 kB / 0.562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.3676, allocations: 34.75 kB / 0.562 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.3676, allocations: 16.84 kB / 0.562 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.368, allocations: 194.1 kB / 0.5622 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.368, allocations: 4.375 kB / 0.5622 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.368, allocations: 11.94 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3683, allocations: 152.4 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3683, allocations: 0 / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3683, allocations: 4 kB / 0.5624 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3683, allocations: 0 / 0.5624 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3684, allocations: 39.91 kB / 0.5624 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.3687, allocations: 173.7 kB / 0.5626 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.369, allocations: 105.2 kB / 0.5627 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3691, allocations: 49.62 kB / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3691, allocations: 7.938 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.3694, allocations: 109.1 kB / 0.5628 GB, free: 1.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3694, allocations: 0 / 0.5628 GB, free: 1.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005068/0.3699, allocations: 177.4 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.3701, allocations: 132.5 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.3704, allocations: 244.1 kB / 0.5634 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3704, allocations: 37.7 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.3705, allocations: 116.1 kB / 0.5635 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3706, allocations: 39.67 kB / 0.5635 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.3706, allocations: 29.7 kB / 0.5636 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3708, allocations: 326.8 kB / 0.5639 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.3709, allocations: 31.97 kB / 0.5639 GB, free: 184 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3711, allocations: 124.5 kB / 0.564 GB, free: 28 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3714, allocations: 95.34 kB / 0.5641 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3714, allocations: 7.969 kB / 0.5641 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003116/0.3717, allocations: 146.1 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3717, allocations: 6.188 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3717, allocations: 3.938 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3717, allocations: 4 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3719, allocations: 23.92 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3719, allocations: 4 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.372, allocations: 15.95 kB / 0.5643 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.372, allocations: 8.062 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001342/0.3721, allocations: 134.3 kB / 0.5645 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3722, allocations: 15.91 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.3725, allocations: 162.7 kB / 0.5646 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3725, allocations: 0 / 0.5646 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3725, allocations: 4 kB / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3725, allocations: 0 / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.3728, allocations: 192.5 kB / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3728, allocations: 0 / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.3728, allocations: 15.94 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3728, allocations: 4 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3728, allocations: 0 / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3728, allocations: 4 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3728, allocations: 0 / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3732, allocations: 197.6 kB / 0.565 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.3732, allocations: 23.84 kB / 0.565 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.3733, allocations: 4 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.3733, allocations: 4 kB / 0.5651 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3734, allocations: 11.98 kB / 0.5651 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3734, allocations: 11.98 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3736, allocations: 181.8 kB / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 4 kB / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3739, allocations: 55.86 kB / 0.5653 GB, free: 14.61 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002415/0.3763, allocations: 1.153 MB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3766, allocations: 83.89 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3766, allocations: 7.938 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3767, allocations: 39.98 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3771, allocations: 59.72 kB / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.3796, allocations: 1.912 MB / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3797, allocations: 111.5 kB / 0.5686 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3798, allocations: 37.94 kB / 0.5686 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3799, allocations: 59.41 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3799, allocations: 0 / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.4172, allocations: 6.227 MB / 0.5748 GB, free: 5.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 12.06 kB / 0.5748 GB, free: 5.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.754901852924377]