Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001265/0.001265, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001396/0.001396, allocations: 210 kB / 23.73 MB, free: 4.523 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2474/0.2474, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.4962 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 66.04 MB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003567/0.357, allocations: 2.17 MB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.3592, allocations: 1.271 MB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3594, allocations: 8 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.3598, allocations: 135.3 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.3604, allocations: 266.9 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3608, allocations: 195.5 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.3613, allocations: 466.6 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3615, allocations: 47.08 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.3619, allocations: 342.9 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.3621, allocations: 179.1 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.3621, allocations: 16 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3623, allocations: 71.98 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3625, allocations: 159.4 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.3626, allocations: 146.7 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.3632, allocations: 497.4 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3632, allocations: 4 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3632, allocations: 4 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3632, allocations: 0 / 0.5665 GB, free: 14.12 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.001226/0.3644, allocations: 0.8418 MB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3645, allocations: 12.03 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.3645, allocations: 46.73 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3646, allocations: 72.47 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.3652, allocations: 363.1 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3652, allocations: 16.36 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.3653, allocations: 19.89 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.3657, allocations: 201.5 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3657, allocations: 4 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.3657, allocations: 4 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3657, allocations: 4 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.366, allocations: 103.8 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3671, allocations: 0.7812 MB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.3678, allocations: 238.5 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.368, allocations: 95.45 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.368, allocations: 7.938 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.3684, allocations: 208.2 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.3684, allocations: 0 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002881/0.3713, allocations: 1.234 MB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.3713, allocations: 136.5 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3726, allocations: 0.9731 MB / 0.5717 GB, free: 8.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.3726, allocations: 41.69 kB / 0.5717 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.3729, allocations: 281 kB / 0.572 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.373, allocations: 146.8 kB / 0.5721 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3731, allocations: 78.09 kB / 0.5722 GB, free: 7.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3733, allocations: 326 kB / 0.5725 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3735, allocations: 120.8 kB / 0.5726 GB, free: 7.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.3738, allocations: 187.2 kB / 0.5728 GB, free: 7.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.3744, allocations: 327 kB / 0.5731 GB, free: 6.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3744, allocations: 4 kB / 0.5731 GB, free: 6.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008397/0.3752, allocations: 460.8 kB / 0.5735 GB, free: 6.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3753, allocations: 8 kB / 0.5735 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3753, allocations: 0 / 0.5735 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3753, allocations: 4 kB / 0.5736 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.3756, allocations: 87.89 kB / 0.5736 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3756, allocations: 11.88 kB / 0.5736 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3758, allocations: 24.05 kB / 0.5737 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3758, allocations: 20 kB / 0.5737 GB, free: 6.375 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.000358/0.3762, allocations: 256.1 kB / 0.5739 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3763, allocations: 79.48 kB / 0.574 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3774, allocations: 0.5304 MB / 0.5745 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3774, allocations: 8 kB / 0.5745 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3774, allocations: 3.938 kB / 0.5745 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3774, allocations: 7.922 kB / 0.5745 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3793, allocations: 1.31 MB / 0.5758 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.3793, allocations: 8 kB / 0.5758 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.3795, allocations: 67.84 kB / 0.5759 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.3795, allocations: 4 kB / 0.5759 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.3796, allocations: 20.25 kB / 0.5759 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.3796, allocations: 11.98 kB / 0.5759 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.3796, allocations: 7.938 kB / 0.5759 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3807, allocations: 0.8279 MB / 0.5767 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.3809, allocations: 119.4 kB / 0.5769 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.381, allocations: 16 kB / 0.5769 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3812, allocations: 15.98 kB / 0.5769 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3814, allocations: 43.81 kB / 0.5769 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.3814, allocations: 31.98 kB / 0.577 GB, free: 2.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009148/0.3823, allocations: 0.7138 MB / 0.5777 GB, free: 2.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3823, allocations: 0 / 0.5777 GB, free: 2.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.3829, allocations: 91.94 kB / 0.5777 GB, free: 2.07 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.003888/0.3868, allocations: 1.849 MB / 0.5796 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007825/0.3876, allocations: 319.3 kB / 0.5799 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3876, allocations: 0 / 0.5799 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.388, allocations: 159.7 kB / 0.58 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3892, allocations: 136.5 kB / 0.5801 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.3979, allocations: 5.188 MB / 0.5852 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.3984, allocations: 322 kB / 0.5855 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.3987, allocations: 75.25 kB / 0.5856 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.3991, allocations: 227.3 kB / 0.5858 GB, free: 9.824 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3991, allocations: 0 / 0.5858 GB, free: 9.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.4421, allocations: 12.73 MB / 0.5982 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.45, allocations: 6.75 kB / 0.5982 GB, free: 13.19 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.54474007099634]