Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 80.2 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5292, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003643/0.5329, allocations: 1.698 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.5347, allocations: 1.007 MB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.5348, allocations: 0 / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.5352, allocations: 43.02 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.5356, allocations: 105.8 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.5359, allocations: 74.92 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.5362, allocations: 98.19 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.5363, allocations: 4.359 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.5364, allocations: 44.28 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.5365, allocations: 29.47 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.5366, allocations: 2.75 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.5367, allocations: 32.62 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.5368, allocations: 34.78 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.5369, allocations: 39.92 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.5373, allocations: 125.4 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5373, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5373, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.5373, allocations: 0 / 0.5343 GB, free: 11.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008298/0.5381, allocations: 438.2 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.5382, allocations: 13.61 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.5383, allocations: 18.33 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.5387, allocations: 224.2 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5387, allocations: 9.688 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5387, allocations: 5.5 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5389, allocations: 51.28 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5389, allocations: 0 / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5389, allocations: 5.375 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.539, allocations: 3.938 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.539, allocations: 8.25 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.5393, allocations: 192.7 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.5395, allocations: 62.45 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.5396, allocations: 21.36 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.5397, allocations: 1.062 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.5399, allocations: 60.14 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.5399, allocations: 0 / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003836/0.5403, allocations: 108.8 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5403, allocations: 52.69 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.5407, allocations: 271.3 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5407, allocations: 29.7 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.5408, allocations: 111.9 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.5408, allocations: 14.19 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.5409, allocations: 22.45 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5411, allocations: 328.2 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.5411, allocations: 19.86 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.5412, allocations: 24 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5413, allocations: 42.83 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5413, allocations: 0 / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002015/0.5415, allocations: 89.81 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5416, allocations: 4.531 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5416, allocations: 9.125 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5416, allocations: 1.188 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.5417, allocations: 17.08 kB / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5417, allocations: 5.062 kB / 0.5365 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.5418, allocations: 10.2 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5418, allocations: 2.188 kB / 0.5365 GB, free: 9.035 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 (7): * Single equations (assignments): 7 * 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.0001326/0.5419, allocations: 136.5 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.542, allocations: 15 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.542, allocations: 20.27 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.542, allocations: 4 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5421, allocations: 1.094 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5421, allocations: 0 / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5423, allocations: 199.4 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5423, allocations: 3.938 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.5423, allocations: 11.38 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5423, allocations: 5.141 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5423, allocations: 1.062 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5424, allocations: 0 / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5424, allocations: 1.125 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.5426, allocations: 118.8 kB / 0.537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.5427, allocations: 88.36 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.5427, allocations: 5.344 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.5428, allocations: 1.594 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5428, allocations: 6.641 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.5428, allocations: 1.125 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.5431, allocations: 198.6 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5431, allocations: 5.094 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.5434, allocations: 21.14 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001175/0.5446, allocations: 396.9 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5448, allocations: 43.58 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5448, allocations: 1.375 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.5449, allocations: 15.84 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.5452, allocations: 45.55 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.5458, allocations: 262.8 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.5462, allocations: 0.716 MB / 0.5387 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.277e-05/0.5463, allocations: 12.67 kB / 0.5387 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.5463, allocations: 17.3 kB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5463, allocations: 0 / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.005735/0.5521, allocations: 1.547 MB / 0.5403 GB, free: 6.332 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches