Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 99.59 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3993/0.3993, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.375, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003046/0.3781, allocations: 1.895 MB / 0.517 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3801, allocations: 1.111 MB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3803, allocations: 3.938 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.3809, allocations: 305.8 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.3815, allocations: 235.4 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.382, allocations: 152 kB / 0.5188 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.3824, allocations: 249.3 kB / 0.519 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.3825, allocations: 11.39 kB / 0.519 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.3827, allocations: 129.4 kB / 0.5191 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3829, allocations: 193.4 kB / 0.5193 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.383, allocations: 2.812 kB / 0.5193 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3831, allocations: 48.31 kB / 0.5194 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3832, allocations: 141.9 kB / 0.5195 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3834, allocations: 145.8 kB / 0.5196 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.3837, allocations: 365.8 kB / 0.52 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3837, allocations: 0 / 0.52 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3837, allocations: 0 / 0.52 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3838, allocations: 0 / 0.52 GB, free: 35 MB / 378.7 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.000942/0.3847, allocations: 0.7403 MB / 0.5207 GB, free: 34.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3848, allocations: 8.625 kB / 0.5207 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.3848, allocations: 55.62 kB / 0.5208 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.3854, allocations: 452.6 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3854, allocations: 4.375 kB / 0.5212 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3854, allocations: 7 kB / 0.5212 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3856, allocations: 88.12 kB / 0.5213 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3856, allocations: 0 / 0.5213 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3856, allocations: 7.266 kB / 0.5213 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3856, allocations: 0 / 0.5213 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.3857, allocations: 35.88 kB / 0.5213 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3861, allocations: 372.6 kB / 0.5217 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3863, allocations: 103.8 kB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.3864, allocations: 46.22 kB / 0.5218 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3864, allocations: 7.375 kB / 0.5219 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.3867, allocations: 109.6 kB / 0.522 GB, free: 33.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3867, allocations: 0 / 0.522 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004232/0.3871, allocations: 200.5 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3872, allocations: 79.89 kB / 0.5222 GB, free: 33.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.3881, allocations: 1.052 MB / 0.5232 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3881, allocations: 32.3 kB / 0.5233 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3882, allocations: 230.8 kB / 0.5235 GB, free: 32.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3883, allocations: 28.28 kB / 0.5235 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3883, allocations: 31.02 kB / 0.5236 GB, free: 32.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.3884, allocations: 372.7 kB / 0.5239 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3885, allocations: 26.64 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.3886, allocations: 61.81 kB / 0.524 GB, free: 32.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3887, allocations: 94.14 kB / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3887, allocations: 0 / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002509/0.389, allocations: 173.2 kB / 0.5243 GB, free: 32.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.389, allocations: 5.062 kB / 0.5243 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.389, allocations: 3.938 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.389, allocations: 2.875 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3892, allocations: 21.94 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3892, allocations: 0 / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3893, allocations: 8.969 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3893, allocations: 14.2 kB / 0.5243 GB, free: 32.13 MB / 378.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001742/0.3895, allocations: 230.1 kB / 0.5245 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.3896, allocations: 52.27 kB / 0.5246 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.3897, allocations: 65.75 kB / 0.5246 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3897, allocations: 2.781 kB / 0.5246 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3897, allocations: 0 / 0.5246 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3897, allocations: 2.812 kB / 0.5246 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3899, allocations: 345.4 kB / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3899, allocations: 2.719 kB / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.39, allocations: 9.812 kB / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.39, allocations: 0 / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.39, allocations: 10.22 kB / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.39, allocations: 0 / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.39, allocations: 3 kB / 0.525 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.3906, allocations: 0.887 MB / 0.5259 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3907, allocations: 133.2 kB / 0.526 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.3908, allocations: 10.36 kB / 0.526 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3909, allocations: 6.812 kB / 0.526 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3909, allocations: 10.16 kB / 0.526 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3909, allocations: 5.594 kB / 0.526 GB, free: 30.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006635/0.3916, allocations: 0.7862 MB / 0.5268 GB, free: 30.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3916, allocations: 0 / 0.5268 GB, free: 30.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000347/0.392, allocations: 45.12 kB / 0.5268 GB, free: 30.49 MB / 378.7 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009036/0.3929, allocations: 418.6 kB / 0.5272 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3931, allocations: 79.45 kB / 0.5273 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3931, allocations: 0 / 0.5273 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.3932, allocations: 38.81 kB / 0.5273 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.3937, allocations: 71.91 kB / 0.5274 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3949, allocations: 1.111 MB / 0.5285 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3952, allocations: 0.8536 MB / 0.5293 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3954, allocations: 49.89 kB / 0.5294 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3955, allocations: 29.64 kB / 0.5294 GB, free: 28.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3955, allocations: 4 kB / 0.5294 GB, free: 28.86 MB / 378.7 MB Notification: Performance of Templates: time 0.00736/0.4028, allocations: 3.713 MB / 0.533 GB, free: 28.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches