Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, 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.001961/0.001961, 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.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 76.38 kB / 481.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.431, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00326/0.4343, allocations: 1.925 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.4362, allocations: 1.117 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.4363, allocations: 5.312 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.4367, allocations: 251.1 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.4372, allocations: 241.8 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.4374, allocations: 120.5 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.4377, allocations: 271.2 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4379, allocations: 28.56 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.4381, allocations: 139.4 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.4383, allocations: 187.3 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.4383, allocations: 8.781 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.4385, allocations: 63.02 kB / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.4386, allocations: 68.16 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4387, allocations: 95.67 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.4391, allocations: 252.5 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4391, allocations: 0 / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4391, allocations: 0 / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4391, allocations: 7.938 kB / 0.5357 GB, free: 10.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007475/0.4399, allocations: 0.5975 MB / 0.5363 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4399, allocations: 8.875 kB / 0.5363 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.44, allocations: 31.66 kB / 0.5364 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.4403, allocations: 296.2 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4404, allocations: 7.094 kB / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4404, allocations: 9.406 kB / 0.5367 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.4406, allocations: 117.6 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4406, allocations: 1.344 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4407, allocations: 1.406 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4407, allocations: 1.344 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4408, allocations: 49.39 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.4413, allocations: 490.3 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.4417, allocations: 125.5 kB / 0.5374 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.4418, allocations: 40.61 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4418, allocations: 2.344 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.442, allocations: 133.3 kB / 0.5376 GB, free: 8.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.442, allocations: 3.938 kB / 0.5376 GB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001267/0.4433, allocations: 0.5064 MB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.4434, allocations: 83.27 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.4439, allocations: 0.4902 MB / 0.5386 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4439, allocations: 30.89 kB / 0.5387 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4441, allocations: 177.7 kB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.4441, allocations: 69.16 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.4442, allocations: 42.89 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4444, allocations: 348.7 kB / 0.5393 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4445, allocations: 58.16 kB / 0.5393 GB, free: 7.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4447, allocations: 98.75 kB / 0.5394 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.445, allocations: 152.7 kB / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.445, allocations: 5.094 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003947/0.4454, allocations: 243.6 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4454, allocations: 9.219 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4454, allocations: 1 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4454, allocations: 2.219 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4456, allocations: 51.34 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4456, allocations: 1.281 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.4457, allocations: 8.625 kB / 0.5399 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4457, allocations: 6.688 kB / 0.5399 GB, free: 6.898 MB / 398.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001611/0.4459, allocations: 181 kB / 0.54 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.4459, allocations: 43.53 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.446, allocations: 42.17 kB / 0.5401 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.446, allocations: 2.5 kB / 0.5401 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.446, allocations: 1.125 kB / 0.5401 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.446, allocations: 0 / 0.5401 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.447, allocations: 0.7474 MB / 0.5409 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.447, allocations: 1.188 kB / 0.5409 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.4471, allocations: 27.84 kB / 0.5409 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4471, allocations: 10.23 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4472, allocations: 8.219 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4472, allocations: 3.094 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4472, allocations: 1.156 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.4477, allocations: 432.9 kB / 0.5413 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.4478, allocations: 105.6 kB / 0.5414 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4478, allocations: 8.781 kB / 0.5414 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.448, allocations: 16.45 kB / 0.5414 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.448, allocations: 16.42 kB / 0.5415 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.4481, allocations: 16.55 kB / 0.5415 GB, free: 5.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.4485, allocations: 377.1 kB / 0.5418 GB, free: 5.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4485, allocations: 0 / 0.5418 GB, free: 5.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.4488, allocations: 45.47 kB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001258/0.4501, allocations: 0.5087 MB / 0.5424 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4505, allocations: 155.2 kB / 0.5425 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4506, allocations: 1.062 kB / 0.5425 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.4508, allocations: 82.88 kB / 0.5426 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4513, allocations: 64.23 kB / 0.5427 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4524, allocations: 0.6053 MB / 0.5433 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.4529, allocations: 0.7871 MB / 0.544 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.4531, allocations: 40.2 kB / 0.5441 GB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.4531, allocations: 26.09 kB / 0.5441 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4532, allocations: 4.969 kB / 0.5441 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Templates: time 0.007365/0.4605, allocations: 3.2 MB / 0.5472 GB, free: 0.9023 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches