Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001278/0.001278, allocations: 114.2 kB / 17.12 MB, free: 5.891 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.00139/0.00139, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 44.23 MB / 326.6 MB, free: 6.762 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002184/0.002184, allocations: 71.91 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2545, allocations: 61.01 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002659/0.2571, allocations: 1.801 MB / 0.5128 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.259, allocations: 1.488 MB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.2591, allocations: 3.938 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.2594, allocations: 57.72 kB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.2596, allocations: 92.28 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.2599, allocations: 147.4 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.2601, allocations: 182.9 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.2602, allocations: 9.672 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2603, allocations: 84.36 kB / 0.5148 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2605, allocations: 77.5 kB / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2605, allocations: 6.5 kB / 0.5149 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2607, allocations: 64.38 kB / 0.5149 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.2607, allocations: 38.81 kB / 0.5149 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.2608, allocations: 49.36 kB / 0.515 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.261, allocations: 176.6 kB / 0.5152 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.261, allocations: 4 kB / 0.5152 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.261, allocations: 0 / 0.5152 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.261, allocations: 1.281 kB / 0.5152 GB, free: 10.04 MB / 382.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.0005676/0.2616, allocations: 472.1 kB / 0.5156 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2616, allocations: 17.39 kB / 0.5156 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.2617, allocations: 40.27 kB / 0.5157 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.2617, allocations: 15.84 kB / 0.5157 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.262, allocations: 242.8 kB / 0.5159 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.262, allocations: 6.406 kB / 0.5159 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.262, allocations: 6.594 kB / 0.5159 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2622, allocations: 95.73 kB / 0.516 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2622, allocations: 0 / 0.516 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2622, allocations: 5.25 kB / 0.516 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2622, allocations: 1.312 kB / 0.516 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2624, allocations: 31.91 kB / 0.5161 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2625, allocations: 214.9 kB / 0.5163 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.2627, allocations: 107.5 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.2628, allocations: 39.39 kB / 0.5164 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2629, allocations: 1.562 kB / 0.5164 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.263, allocations: 108.4 kB / 0.5165 GB, free: 8.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.263, allocations: 0 / 0.5165 GB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004143/0.2635, allocations: 167.5 kB / 0.5167 GB, free: 8.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2635, allocations: 131.3 kB / 0.5168 GB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2637, allocations: 217.6 kB / 0.517 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2637, allocations: 27.08 kB / 0.517 GB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.2637, allocations: 115 kB / 0.5171 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2638, allocations: 31.91 kB / 0.5172 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.2638, allocations: 27.34 kB / 0.5172 GB, free: 8.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2639, allocations: 330.9 kB / 0.5175 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.2639, allocations: 35.17 kB / 0.5175 GB, free: 7.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.264, allocations: 61.77 kB / 0.5176 GB, free: 7.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2642, allocations: 95.12 kB / 0.5177 GB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2642, allocations: 7.875 kB / 0.5177 GB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002374/0.2644, allocations: 132.6 kB / 0.5178 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2645, allocations: 5.5 kB / 0.5178 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2645, allocations: 1.375 kB / 0.5178 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2645, allocations: 2.75 kB / 0.5178 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2646, allocations: 24.42 kB / 0.5179 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2646, allocations: 2.75 kB / 0.5179 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.2647, allocations: 24.05 kB / 0.5179 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2647, allocations: 12.06 kB / 0.5179 GB, free: 7.477 MB / 382.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 8.057e-05/0.2648, allocations: 132.7 kB / 0.518 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.2648, allocations: 20.14 kB / 0.518 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.2648, allocations: 14.5 kB / 0.5181 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2648, allocations: 1.375 kB / 0.5181 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2648, allocations: 1.375 kB / 0.5181 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2648, allocations: 1.375 kB / 0.5181 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.265, allocations: 217 kB / 0.5183 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.265, allocations: 8 kB / 0.5183 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.265, allocations: 6.344 kB / 0.5183 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.265, allocations: 1.312 kB / 0.5183 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.265, allocations: 2.438 kB / 0.5183 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.265, allocations: 4.734 kB / 0.5183 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.265, allocations: 1.281 kB / 0.5183 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.2653, allocations: 176.4 kB / 0.5185 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.2653, allocations: 89.06 kB / 0.5185 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.2653, allocations: 0 / 0.5185 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.2654, allocations: 11.98 kB / 0.5186 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2654, allocations: 7.984 kB / 0.5186 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2654, allocations: 4 kB / 0.5186 GB, free: 6.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2655, allocations: 161.5 kB / 0.5187 GB, free: 6.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 0 / 0.5187 GB, free: 6.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.2658, allocations: 47.88 kB / 0.5188 GB, free: 6.578 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001794/0.2676, allocations: 1.057 MB / 0.5198 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2678, allocations: 79.91 kB / 0.5199 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2678, allocations: 0 / 0.5199 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.2679, allocations: 31.98 kB / 0.5199 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2683, allocations: 51.89 kB / 0.52 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2699, allocations: 1.824 MB / 0.5217 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.27, allocations: 0.7164 MB / 0.5224 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.2701, allocations: 33.52 kB / 0.5225 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.2701, allocations: 55.34 kB / 0.5225 GB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2701, allocations: 0 / 0.5225 GB, free: 2.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.2956, allocations: 4.735 MB / 0.5271 GB, free: 13.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.741, allocations: 9.656 kB / 0.5272 GB, free: 13.76 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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: 11.642256564009585]