Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 108.6 kB / 18.45 MB, free: 4.621 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.00139/0.00139, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2044/0.2044, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.84 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3749, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002867/0.3778, allocations: 1.723 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3791, allocations: 0.8715 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.3792, allocations: 5 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3795, allocations: 30.61 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.3798, allocations: 59.14 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3801, allocations: 113.9 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3802, allocations: 96.39 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.3803, allocations: 11.62 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.3804, allocations: 41.44 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.3805, allocations: 34.39 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3805, allocations: 3.344 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3807, allocations: 42 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.3807, allocations: 19.16 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.3808, allocations: 37.42 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.381, allocations: 115.1 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.381, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.381, allocations: 1.906 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.381, allocations: 0 / 0.5228 GB, free: 1.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004879/0.3815, allocations: 409.8 kB / 0.5231 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3816, allocations: 10.86 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3816, allocations: 9.188 kB / 0.5232 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.3819, allocations: 206.7 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3819, allocations: 6.391 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3819, allocations: 6.969 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3821, allocations: 54.11 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3821, allocations: 7.844 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3821, allocations: 0.9375 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3821, allocations: 5.844 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.3822, allocations: 17.52 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.3825, allocations: 282.2 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3827, allocations: 63.94 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.3828, allocations: 19.88 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3828, allocations: 1.844 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.3829, allocations: 65.69 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3829, allocations: 4 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.3835, allocations: 177.2 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3835, allocations: 56.16 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3837, allocations: 187.9 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3837, allocations: 29.7 kB / 0.5243 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.3838, allocations: 101.2 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3838, allocations: 24.08 kB / 0.5244 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3838, allocations: 23.25 kB / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.384, allocations: 330.2 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.3841, allocations: 20.84 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.3841, allocations: 43.77 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3843, allocations: 53.56 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3843, allocations: 1.062 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.3845, allocations: 112.9 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3845, allocations: 5.5 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3845, allocations: 0.6562 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3845, allocations: 2.281 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.3846, allocations: 14.81 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3846, allocations: 1.344 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.3847, allocations: 7.406 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3847, allocations: 6.656 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001011/0.3848, allocations: 126.7 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3848, allocations: 20.28 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.3849, allocations: 14.81 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3849, allocations: 2.969 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3849, allocations: 0 / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3849, allocations: 4.594 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.3854, allocations: 384.6 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3854, allocations: 6.75 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.3854, allocations: 6.688 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3854, allocations: 5.125 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3854, allocations: 6.75 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3854, allocations: 1.984 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3855, allocations: 0 / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3857, allocations: 209.4 kB / 0.5258 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.3858, allocations: 85.03 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3858, allocations: 9.984 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3859, allocations: 11.14 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3859, allocations: 6.047 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3859, allocations: 4.141 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3861, allocations: 143.6 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3861, allocations: 0 / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3863, allocations: 26 kB / 0.526 GB, free: 14.64 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001094/0.3874, allocations: 475.6 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3877, allocations: 57.12 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3877, allocations: 0 / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.3878, allocations: 28.09 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3881, allocations: 34.81 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.3886, allocations: 244.6 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3889, allocations: 0.7037 MB / 0.5275 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3889, allocations: 21.86 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.389, allocations: 0 / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.00393/0.3929, allocations: 1.901 MB / 0.5294 GB, free: 12.81 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches