Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4484, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003579/0.4521, allocations: 1.731 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.454, allocations: 1.022 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.4541, allocations: 0 / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.4544, allocations: 43.14 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.4548, allocations: 93.08 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.455, allocations: 80.06 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.4552, allocations: 105 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4553, allocations: 10.86 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.4554, allocations: 48.28 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.4555, allocations: 29.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4556, allocations: 8.062 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.4557, allocations: 43.47 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.4557, allocations: 17.42 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.4558, allocations: 32 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.456, allocations: 125.2 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.456, allocations: 1.375 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.456, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.4561, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.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.0006312/0.4567, allocations: 419.6 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4568, allocations: 9.625 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.4568, allocations: 12.97 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4571, allocations: 212.6 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4572, allocations: 5.75 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4572, allocations: 10.86 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4573, allocations: 57.98 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4574, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4574, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4574, allocations: 5.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.4575, allocations: 18.98 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.4579, allocations: 289.4 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.458, allocations: 57.88 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4581, allocations: 21.09 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4582, allocations: 5.375 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.4583, allocations: 65.14 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4583, allocations: 0 / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006017/0.4589, allocations: 178.2 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.459, allocations: 52.53 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4592, allocations: 186.2 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.4593, allocations: 35.06 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.4594, allocations: 96.11 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4594, allocations: 23.34 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.4595, allocations: 24.59 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4596, allocations: 326.3 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.4597, allocations: 23.17 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.4598, allocations: 43.17 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4599, allocations: 59.83 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4599, allocations: 192 / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.4601, allocations: 103.5 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4601, allocations: 9.719 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4602, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4602, allocations: 1.062 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.4603, allocations: 17.02 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4603, allocations: 1.094 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.4603, allocations: 10.16 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.4604, allocations: 3.5 kB / 0.5366 GB, free: 8.867 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.0001137/0.4605, allocations: 129.9 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.4605, allocations: 9.266 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.4606, allocations: 13.94 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4606, allocations: 1.156 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4606, allocations: 0 / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4606, allocations: 8.984 kB / 0.5368 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.4611, allocations: 401.2 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4611, allocations: 0 / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.4612, allocations: 7.906 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4612, allocations: 5.031 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.4612, allocations: 6.188 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4612, allocations: 0 / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4612, allocations: 5.047 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4615, allocations: 208.4 kB / 0.5374 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4616, allocations: 88.45 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.4616, allocations: 4.969 kB / 0.5375 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.4617, allocations: 6.219 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.4617, allocations: 7.453 kB / 0.5375 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4618, allocations: 3.469 kB / 0.5375 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4619, allocations: 139.7 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4619, allocations: 4 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.4622, allocations: 25.38 kB / 0.5377 GB, free: 7.902 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.001214/0.4634, allocations: 466.7 kB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4636, allocations: 61.91 kB / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4637, allocations: 0 / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.4637, allocations: 34.7 kB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4641, allocations: 24.3 kB / 0.5382 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.4646, allocations: 214.6 kB / 0.5384 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4649, allocations: 0.7043 MB / 0.5391 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.465, allocations: 18.48 kB / 0.5391 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.465, allocations: 15.22 kB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.465, allocations: 0 / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Templates: time 0.004614/0.4696, allocations: 1.725 MB / 0.5408 GB, free: 5.836 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches