Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001395/0.001395, 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.001395/0.001395, allocations: 205.8 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.251/0.251, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 63.88 kB / 0.4962 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3456, allocations: 66.05 MB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003706/0.3493, allocations: 2.162 MB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3517, allocations: 1.268 MB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3519, allocations: 3.938 kB / 0.564 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.3523, allocations: 123.3 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005818/0.3529, allocations: 250.9 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3534, allocations: 199.5 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005749/0.354, allocations: 462.6 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3541, allocations: 55.05 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.3545, allocations: 295.1 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3547, allocations: 167.2 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.3548, allocations: 16 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.355, allocations: 79.95 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3551, allocations: 139.4 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3553, allocations: 142.8 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3558, allocations: 449.7 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3558, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3558, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3558, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001152/0.357, allocations: 0.7644 MB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.357, allocations: 11.97 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.3571, allocations: 50.73 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.3572, allocations: 64.52 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.3578, allocations: 343.2 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3578, allocations: 20.28 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.3578, allocations: 23.89 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.3583, allocations: 197.5 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3583, allocations: 0 / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3583, allocations: 11.98 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3583, allocations: 0 / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.3586, allocations: 103.9 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3596, allocations: 0.7539 MB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3603, allocations: 242.4 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3605, allocations: 83.52 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3605, allocations: 12 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.361, allocations: 216.2 kB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.361, allocations: 0 / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002619/0.3636, allocations: 1.163 MB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.3637, allocations: 140.5 kB / 0.5704 GB, free: 9.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.3646, allocations: 0.8165 MB / 0.5712 GB, free: 9.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3647, allocations: 37.7 kB / 0.5712 GB, free: 9.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.3649, allocations: 245 kB / 0.5714 GB, free: 8.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.365, allocations: 142.8 kB / 0.5716 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3651, allocations: 82.08 kB / 0.5717 GB, free: 8.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3653, allocations: 374.8 kB / 0.572 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3656, allocations: 116.8 kB / 0.5721 GB, free: 8.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3659, allocations: 195.1 kB / 0.5723 GB, free: 7.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.3664, allocations: 331 kB / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3664, allocations: 4 kB / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008144/0.3673, allocations: 449 kB / 0.5731 GB, free: 7.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3673, allocations: 8 kB / 0.5731 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3673, allocations: 0 / 0.5731 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3673, allocations: 7.938 kB / 0.5731 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3676, allocations: 91.89 kB / 0.5732 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3676, allocations: 7.938 kB / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3678, allocations: 19.92 kB / 0.5732 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.3678, allocations: 20 kB / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002538/0.3681, allocations: 232.1 kB / 0.5734 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.3682, allocations: 75.56 kB / 0.5735 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3692, allocations: 0.5268 MB / 0.574 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3692, allocations: 4 kB / 0.574 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3692, allocations: 7.938 kB / 0.574 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3692, allocations: 3.984 kB / 0.574 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.3712, allocations: 1.286 MB / 0.5753 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3712, allocations: 4 kB / 0.5753 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.3714, allocations: 63.91 kB / 0.5753 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3714, allocations: 4 kB / 0.5754 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.3714, allocations: 19.98 kB / 0.5754 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.3714, allocations: 11.94 kB / 0.5754 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.3714, allocations: 3.938 kB / 0.5754 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3725, allocations: 0.8282 MB / 0.5762 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.3727, allocations: 107.4 kB / 0.5763 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.3728, allocations: 15.98 kB / 0.5763 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.3731, allocations: 16 kB / 0.5763 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.3732, allocations: 47.81 kB / 0.5764 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3732, allocations: 23.98 kB / 0.5764 GB, free: 3.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006816/0.3739, allocations: 0.5928 MB / 0.577 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3739, allocations: 3.938 kB / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000543/0.3745, allocations: 91.92 kB / 0.5771 GB, free: 2.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003304/0.3778, allocations: 1.835 MB / 0.5789 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.3785, allocations: 326.5 kB / 0.5792 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3785, allocations: 256 / 0.5792 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.3788, allocations: 163.7 kB / 0.5793 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3798, allocations: 124.4 kB / 0.5794 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.3864, allocations: 4.794 MB / 0.5841 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3867, allocations: 297 kB / 0.5844 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3869, allocations: 87.22 kB / 0.5845 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.3872, allocations: 195.3 kB / 0.5847 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3872, allocations: 0 / 0.5847 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.4312, allocations: 12.07 MB / 0.5965 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.42, allocations: 10.66 kB / 0.5965 GB, free: 15.12 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.480453591997502]