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.001396/0.001396, 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.001444/0.001444, allocations: 207.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.517/1.517, 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.2345/0.2345, allocations: 46.94 MB / 360.9 MB, free: 4.039 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.002066/0.002066, allocations: 67.89 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 66.04 MB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003909/0.3222, allocations: 2.17 MB / 0.5628 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.3248, allocations: 1.271 MB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.325, allocations: 7.938 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.3254, allocations: 131.3 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.3261, allocations: 278.8 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.3265, allocations: 183.6 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.3271, allocations: 474.6 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3272, allocations: 43.08 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.3276, allocations: 335 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3278, allocations: 171.1 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.3279, allocations: 16 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3281, allocations: 71.86 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3282, allocations: 155.4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.3284, allocations: 158.6 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.329, allocations: 497.5 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.329, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.329, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.329, allocations: 0 / 0.5664 GB, free: 14.27 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.001297/0.3303, allocations: 0.8418 MB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3303, allocations: 12.03 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.3304, allocations: 46.73 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3305, allocations: 72.47 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.3311, allocations: 367.1 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3311, allocations: 12.38 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.3312, allocations: 23.88 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.3316, allocations: 197.5 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3316, allocations: 0 / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3316, allocations: 8 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3316, allocations: 4 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.332, allocations: 107.8 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3331, allocations: 0.7851 MB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3337, allocations: 246.4 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3339, allocations: 83.52 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3339, allocations: 8 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.3343, allocations: 212.3 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.3343, allocations: 3.938 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002648/0.337, allocations: 1.217 MB / 0.5706 GB, free: 9.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.3371, allocations: 140.5 kB / 0.5707 GB, free: 9.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3382, allocations: 0.977 MB / 0.5716 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3382, allocations: 41.69 kB / 0.5717 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3385, allocations: 273 kB / 0.5719 GB, free: 8.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3386, allocations: 154.8 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3387, allocations: 74.09 kB / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3389, allocations: 326 kB / 0.5725 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3391, allocations: 112.8 kB / 0.5726 GB, free: 7.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.3394, allocations: 195.2 kB / 0.5728 GB, free: 7.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.34, allocations: 327 kB / 0.5731 GB, free: 7.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.34, allocations: 4 kB / 0.5731 GB, free: 7.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008578/0.3409, allocations: 460.7 kB / 0.5735 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3409, allocations: 4 kB / 0.5735 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3409, allocations: 8.125 kB / 0.5735 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3409, allocations: 4 kB / 0.5735 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.3412, allocations: 91.83 kB / 0.5736 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3412, allocations: 7.938 kB / 0.5736 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3414, allocations: 19.94 kB / 0.5737 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3414, allocations: 19.98 kB / 0.5737 GB, free: 6.516 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.0003156/0.3417, allocations: 260.1 kB / 0.5739 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3419, allocations: 75.48 kB / 0.574 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.343, allocations: 0.5436 MB / 0.5745 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.343, allocations: 4 kB / 0.5745 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.343, allocations: 7.938 kB / 0.5745 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.343, allocations: 3.984 kB / 0.5745 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.345, allocations: 1.314 MB / 0.5758 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.345, allocations: 4 kB / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3452, allocations: 63.92 kB / 0.5759 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.3452, allocations: 7.984 kB / 0.5759 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3452, allocations: 12 kB / 0.5759 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.3452, allocations: 8 kB / 0.5759 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.3452, allocations: 7.875 kB / 0.5759 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3463, allocations: 0.8357 MB / 0.5767 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3465, allocations: 123.4 kB / 0.5769 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.3466, allocations: 16 kB / 0.5769 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3469, allocations: 19.98 kB / 0.5769 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.347, allocations: 39.88 kB / 0.5769 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.347, allocations: 27.98 kB / 0.577 GB, free: 3.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008532/0.3479, allocations: 0.7138 MB / 0.5777 GB, free: 2.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3479, allocations: 0 / 0.5777 GB, free: 2.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.3485, allocations: 87.94 kB / 0.5777 GB, free: 2.211 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.00343/0.3519, allocations: 1.853 MB / 0.5795 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.3527, allocations: 322.8 kB / 0.5799 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3527, allocations: 0 / 0.5799 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.353, allocations: 164.4 kB / 0.58 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.354, allocations: 127.7 kB / 0.5801 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.3609, allocations: 5.188 MB / 0.5852 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3613, allocations: 327.3 kB / 0.5855 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.3616, allocations: 79.25 kB / 0.5856 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.3619, allocations: 215.3 kB / 0.5858 GB, free: 9.961 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3619, allocations: 0 / 0.5858 GB, free: 9.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.4048, allocations: 12.64 MB / 0.5981 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.07, allocations: 6.75 kB / 0.5981 GB, free: 13.42 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: 15.170040741097182]