Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2693/0.2693, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 79.88 kB / 481.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4161, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003078/0.4192, allocations: 1.829 MB / 0.5328 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.422, allocations: 1.692 MB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4222, allocations: 5.312 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.4226, allocations: 53.44 kB / 0.5346 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.423, allocations: 137.8 kB / 0.5347 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4233, allocations: 105.8 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.4236, allocations: 199.2 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.4237, allocations: 14.38 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4238, allocations: 89.08 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.424, allocations: 80.78 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.4241, allocations: 11.88 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.4243, allocations: 114.8 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.4243, allocations: 48.89 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.4244, allocations: 58.7 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.4248, allocations: 220.6 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4248, allocations: 4 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4248, allocations: 1.094 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.4248, allocations: 0 / 0.5356 GB, free: 10.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007376/0.4256, allocations: 498.1 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4256, allocations: 10.19 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.4257, allocations: 24 kB / 0.5361 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.4261, allocations: 251 kB / 0.5363 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4261, allocations: 2.656 kB / 0.5363 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4261, allocations: 10.38 kB / 0.5363 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.4264, allocations: 108.2 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.4264, allocations: 0 / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4264, allocations: 9.078 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4264, allocations: 0.9375 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4265, allocations: 28.17 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.4268, allocations: 222.2 kB / 0.5367 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.427, allocations: 109.3 kB / 0.5368 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.4271, allocations: 41.08 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4272, allocations: 2.062 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.4274, allocations: 108 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4274, allocations: 1.156 kB / 0.537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004244/0.4278, allocations: 162.6 kB / 0.5371 GB, free: 8.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.4279, allocations: 138.9 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4282, allocations: 235.6 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4282, allocations: 31.11 kB / 0.5375 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.4283, allocations: 116.2 kB / 0.5376 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.4284, allocations: 23.78 kB / 0.5376 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4284, allocations: 35.23 kB / 0.5377 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4286, allocations: 327.5 kB / 0.538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.4287, allocations: 27.39 kB / 0.538 GB, free: 8.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4288, allocations: 74.06 kB / 0.5381 GB, free: 7.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.429, allocations: 91.08 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4291, allocations: 8.969 kB / 0.5382 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003252/0.4294, allocations: 140.6 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4294, allocations: 6.062 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4294, allocations: 1.125 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4295, allocations: 1 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4296, allocations: 30.08 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4297, allocations: 5.094 kB / 0.5383 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.4298, allocations: 9.656 kB / 0.5383 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4298, allocations: 3.5 kB / 0.5384 GB, free: 7.77 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001488/0.4299, allocations: 133.2 kB / 0.5385 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.43, allocations: 20.78 kB / 0.5385 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.43, allocations: 23.23 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4301, allocations: 2.094 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4301, allocations: 0 / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4301, allocations: 5.344 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.4303, allocations: 223.4 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4303, allocations: 0 / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.4304, allocations: 14.73 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4304, allocations: 1.156 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4304, allocations: 2.219 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.4304, allocations: 5.188 kB / 0.5388 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4304, allocations: 1.062 kB / 0.5388 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.4307, allocations: 174.6 kB / 0.5389 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.4308, allocations: 97.33 kB / 0.539 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.4309, allocations: 3.375 kB / 0.539 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.4309, allocations: 11.27 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.431, allocations: 8.25 kB / 0.539 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.431, allocations: 8.328 kB / 0.5391 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.4312, allocations: 178.8 kB / 0.5392 GB, free: 6.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.166e-06/0.4313, allocations: 4 kB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.4316, allocations: 57.17 kB / 0.5393 GB, free: 6.949 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001262/0.4329, allocations: 0.4917 MB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4331, allocations: 80.66 kB / 0.5398 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4331, allocations: 0 / 0.5398 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4333, allocations: 39.23 kB / 0.5399 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.4337, allocations: 67.2 kB / 0.5399 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.4342, allocations: 281.8 kB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.4345, allocations: 0.7153 MB / 0.5409 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.538e-05/0.4346, allocations: 39.67 kB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.4347, allocations: 26.73 kB / 0.541 GB, free: 5.645 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4347, allocations: 0 / 0.541 GB, free: 5.645 MB / 398.1 MB Notification: Performance of Templates: time 0.006791/0.4415, allocations: 3.124 MB / 0.544 GB, free: 4.055 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches