Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001442/0.001442, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001569/0.001569, allocations: 187.8 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2434/0.2434, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4629, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004589/0.4675, allocations: 1.911 MB / 0.5203 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.4694, allocations: 0.9152 MB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.4695, allocations: 2.469 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.47, allocations: 42.7 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.4703, allocations: 65.58 kB / 0.5213 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.4708, allocations: 134.6 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.471, allocations: 134.4 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4712, allocations: 21.28 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.4713, allocations: 64.64 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4714, allocations: 50.09 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.4715, allocations: 6.406 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4716, allocations: 45.16 kB / 0.5218 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.4717, allocations: 31.44 kB / 0.5218 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.4718, allocations: 46.08 kB / 0.5219 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.4721, allocations: 156.9 kB / 0.522 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4721, allocations: 0 / 0.522 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4721, allocations: 0 / 0.522 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4721, allocations: 0 / 0.522 GB, free: 0.9102 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007242/0.4729, allocations: 474.7 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4729, allocations: 13.72 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.473, allocations: 38.88 kB / 0.5225 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4731, allocations: 15.78 kB / 0.5225 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4734, allocations: 228.2 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4735, allocations: 9 kB / 0.5228 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.4735, allocations: 11.78 kB / 0.5228 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.4738, allocations: 117 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4738, allocations: 4.75 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4738, allocations: 5.125 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4739, allocations: 2.906 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.4741, allocations: 46.33 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.4749, allocations: 0.5045 MB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4753, allocations: 86.89 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4754, allocations: 45.06 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4754, allocations: 1.766 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.4756, allocations: 77.86 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4756, allocations: 3.938 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004363/0.4761, allocations: 143.1 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4761, allocations: 57.28 kB / 0.5238 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4763, allocations: 196.4 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4764, allocations: 29.7 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4765, allocations: 111.1 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.4765, allocations: 30.84 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.4766, allocations: 28.73 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4767, allocations: 323.2 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.4768, allocations: 29.52 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4769, allocations: 66.59 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.4771, allocations: 96.77 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4771, allocations: 5.031 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000293/0.4774, allocations: 137.4 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4775, allocations: 5.188 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4775, allocations: 5.906 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4775, allocations: 5.75 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4776, allocations: 22.39 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4776, allocations: 6.922 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.4777, allocations: 9.531 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.4777, allocations: 11.83 kB / 0.5249 GB, free: 14.46 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001344/0.4779, allocations: 132 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.4779, allocations: 15.02 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.478, allocations: 19.33 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.478, allocations: 5.562 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.478, allocations: 0 / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.478, allocations: 2.156 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.4782, allocations: 212.6 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4782, allocations: 1.312 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.4783, allocations: 11.33 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4783, allocations: 1.438 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4783, allocations: 2.234 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4784, allocations: 3.938 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4784, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.4788, allocations: 184 kB / 0.5255 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.4788, allocations: 92.12 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.4789, allocations: 6.359 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.479, allocations: 9.688 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.479, allocations: 10.52 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.479, allocations: 4.172 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.4792, allocations: 150.5 kB / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4792, allocations: 0 / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.4794, allocations: 28.95 kB / 0.5257 GB, free: 13.75 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001535/0.481, allocations: 1.014 MB / 0.5267 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4813, allocations: 80.8 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4813, allocations: 1.375 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4814, allocations: 39.42 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.4818, allocations: 44.75 kB / 0.5269 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.484, allocations: 1.729 MB / 0.5286 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4843, allocations: 0.7251 MB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.805e-05/0.4844, allocations: 15.31 kB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.4845, allocations: 41.53 kB / 0.5293 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4845, allocations: 0 / 0.5293 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.5075, allocations: 3.827 MB / 0.5331 GB, free: 9.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.185, allocations: 8.312 kB / 0.5331 GB, free: 9.012 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches