Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 188.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.17 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.88 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4609, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003443/0.4644, allocations: 2.001 MB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4663, allocations: 0.9697 MB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.4665, allocations: 9.812 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.467, allocations: 45.11 kB / 0.5214 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4673, allocations: 69.44 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.4678, allocations: 142.5 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.4682, allocations: 199.2 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4684, allocations: 26.34 kB / 0.5219 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.4686, allocations: 91.62 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.4687, allocations: 69.27 kB / 0.522 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.4687, allocations: 12.16 kB / 0.522 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4689, allocations: 49.41 kB / 0.5221 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.469, allocations: 36.47 kB / 0.5221 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.4691, allocations: 70.78 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.4694, allocations: 202.8 kB / 0.5224 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4694, allocations: 1 kB / 0.5224 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4694, allocations: 0 / 0.5224 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.4695, allocations: 0 / 0.5224 GB, free: 0.7344 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008892/0.4704, allocations: 0.5556 MB / 0.5229 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4704, allocations: 9.75 kB / 0.5229 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.4705, allocations: 43.39 kB / 0.523 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.4705, allocations: 27.02 kB / 0.523 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.4709, allocations: 243.1 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.471, allocations: 7.781 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.471, allocations: 10.42 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.4715, allocations: 160.2 kB / 0.5234 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4715, allocations: 3.984 kB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4715, allocations: 3.031 kB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4715, allocations: 1.094 kB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.4721, allocations: 113.8 kB / 0.5235 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.4729, allocations: 0.5451 MB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.4737, allocations: 168.7 kB / 0.5242 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.4739, allocations: 69.81 kB / 0.5243 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.474, allocations: 2.844 kB / 0.5243 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.4744, allocations: 136.4 kB / 0.5244 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.4744, allocations: 3.938 kB / 0.5244 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009344/0.4754, allocations: 258.6 kB / 0.5246 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4754, allocations: 58.27 kB / 0.5247 GB, free: 15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4757, allocations: 224 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4757, allocations: 32.27 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.4758, allocations: 126.5 kB / 0.5251 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.4758, allocations: 36.17 kB / 0.5251 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.4759, allocations: 37.42 kB / 0.5251 GB, free: 14.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4761, allocations: 330.7 kB / 0.5255 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.4764, allocations: 67.47 kB / 0.5255 GB, free: 14.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.4767, allocations: 110.4 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.4772, allocations: 194.6 kB / 0.5258 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4772, allocations: 1.375 kB / 0.5258 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006927/0.4779, allocations: 252.1 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.478, allocations: 34.03 kB / 0.5261 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.478, allocations: 1.375 kB / 0.5261 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.478, allocations: 5.312 kB / 0.5261 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4782, allocations: 42.23 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4782, allocations: 1.969 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.4784, allocations: 32.08 kB / 0.5262 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4784, allocations: 10.17 kB / 0.5262 GB, free: 13.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001342/0.4786, allocations: 136.7 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.4786, allocations: 16.31 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.4787, allocations: 21.61 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4787, allocations: 5.375 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4787, allocations: 0.7969 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4787, allocations: 1.828 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.4789, allocations: 237.5 kB / 0.5266 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.479, allocations: 0.5625 kB / 0.5266 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4791, allocations: 23.56 kB / 0.5266 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4791, allocations: 9.688 kB / 0.5266 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4792, allocations: 6.875 kB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4792, allocations: 3.938 kB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4792, allocations: 0 / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.4801, allocations: 305.2 kB / 0.5269 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4802, allocations: 89.94 kB / 0.527 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.4803, allocations: 6.844 kB / 0.527 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.4804, allocations: 27.91 kB / 0.527 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.4805, allocations: 20.61 kB / 0.527 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.4806, allocations: 5.016 kB / 0.527 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.4807, allocations: 163.9 kB / 0.5272 GB, free: 13.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4807, allocations: 0 / 0.5272 GB, free: 13.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.481, allocations: 38.2 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002156/0.4832, allocations: 1.147 MB / 0.5284 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.4839, allocations: 216.7 kB / 0.5286 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4839, allocations: 1.375 kB / 0.5286 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.4842, allocations: 83.86 kB / 0.5286 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4846, allocations: 47.02 kB / 0.5287 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.4881, allocations: 2.157 MB / 0.5308 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4884, allocations: 0.73 MB / 0.5315 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.4886, allocations: 17.7 kB / 0.5315 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4887, allocations: 49.55 kB / 0.5316 GB, free: 9.719 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4887, allocations: 4 kB / 0.5316 GB, free: 9.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.5203, allocations: 5.053 MB / 0.5365 GB, free: 7.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.175, allocations: 8.844 kB / 0.5365 GB, free: 7.051 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches