Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001296/0.001296, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001373/0.001373, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2236/0.2236, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",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.001895/0.001895, allocations: 60.19 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.339, allocations: 65.47 MB / 0.5578 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003543/0.3426, allocations: 1.871 MB / 0.5596 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3446, allocations: 1.073 MB / 0.5607 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.3447, allocations: 4 kB / 0.5607 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3452, allocations: 223.4 kB / 0.5609 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.3457, allocations: 215.2 kB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3459, allocations: 123.6 kB / 0.5612 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.3463, allocations: 255.3 kB / 0.5615 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3464, allocations: 23.78 kB / 0.5615 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.3466, allocations: 135.4 kB / 0.5616 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3468, allocations: 171.4 kB / 0.5618 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.3469, allocations: 8 kB / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3471, allocations: 63.98 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3472, allocations: 67.69 kB / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.3473, allocations: 63.48 kB / 0.562 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.3477, allocations: 250.8 kB / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3477, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3477, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3477, allocations: 0 / 0.5622 GB, free: 2.992 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009001/0.3486, allocations: 0.5003 MB / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.3486, allocations: 11.97 kB / 0.5627 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.3486, allocations: 8.188 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3487, allocations: 42.73 kB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.3488, allocations: 28.75 kB / 0.5628 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.3493, allocations: 218.5 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3493, allocations: 12.06 kB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3493, allocations: 8 kB / 0.563 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3496, allocations: 123.3 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3497, allocations: 0 / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3497, allocations: 0 / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3497, allocations: 0 / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3498, allocations: 47.97 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.3506, allocations: 443.8 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.351, allocations: 121.2 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3512, allocations: 41.81 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3512, allocations: 8 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3515, allocations: 124.8 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.3515, allocations: 0 / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001487/0.353, allocations: 0.5283 MB / 0.5644 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.353, allocations: 77.11 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.3535, allocations: 456.5 kB / 0.5649 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.3536, allocations: 33.7 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3537, allocations: 164.5 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.3538, allocations: 71.42 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.3539, allocations: 41.7 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.354, allocations: 342.8 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3542, allocations: 59.97 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3543, allocations: 107.2 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3547, allocations: 163.5 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3547, allocations: 7.984 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004336/0.3551, allocations: 237.3 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3551, allocations: 7.938 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3551, allocations: 4 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3551, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3553, allocations: 47.91 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3553, allocations: 0 / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.3554, allocations: 11.95 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3554, allocations: 11.98 kB / 0.5662 GB, free: 14.69 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002121/0.3556, allocations: 178.3 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.3557, allocations: 39.73 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.3563, allocations: 273.3 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3563, allocations: 4 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3563, allocations: 3.984 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3563, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3573, allocations: 0.7108 MB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.3574, allocations: 4 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.3575, allocations: 31.92 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3575, allocations: 4 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3575, allocations: 12 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.3575, allocations: 7.984 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3575, allocations: 3.938 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.358, allocations: 441.5 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3581, allocations: 35.75 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.3581, allocations: 12.06 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3583, allocations: 11.94 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3583, allocations: 19.91 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3584, allocations: 15.98 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003649/0.3587, allocations: 339.2 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3587, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.3591, allocations: 59.86 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002826/0.3619, allocations: 1.419 MB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.3623, allocations: 159.7 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3623, allocations: 0 / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3625, allocations: 83.84 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.3631, allocations: 71.03 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.3667, allocations: 2.912 MB / 0.5728 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3669, allocations: 162.1 kB / 0.573 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.367, allocations: 45.91 kB / 0.573 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3672, allocations: 91.41 kB / 0.5731 GB, free: 7.547 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3672, allocations: 0 / 0.5731 GB, free: 7.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3983, allocations: 6.978 MB / 0.5799 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.55, allocations: 8.062 kB / 0.5799 GB, free: 0.6523 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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: 15.724560250062495]