Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.259/0.259, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 76.09 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4246, allocations: 62.42 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003475/0.4282, allocations: 1.748 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.43, allocations: 1.023 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4302, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.4307, allocations: 50.88 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.4312, allocations: 109.7 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.4315, allocations: 82.91 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.4319, allocations: 120 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4321, allocations: 20.22 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.4323, allocations: 53.72 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.4325, allocations: 47.08 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.4325, allocations: 9.5 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.4327, allocations: 71.72 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4328, allocations: 33.47 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.4329, allocations: 38.5 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.4333, allocations: 151.2 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.4334, allocations: 3.984 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4334, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4334, allocations: 1.375 kB / 0.5346 GB, free: 10.97 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001139/0.4345, allocations: 427.8 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.314e-05/0.4346, allocations: 9.5 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.4347, allocations: 22.84 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.4352, allocations: 224.3 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4352, allocations: 2.156 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.4353, allocations: 8.312 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.4355, allocations: 69.31 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4356, allocations: 5.156 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4356, allocations: 3.984 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4356, allocations: 1.281 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.4358, allocations: 44.56 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.4364, allocations: 326.3 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.4368, allocations: 85 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.4369, allocations: 31.66 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.437, allocations: 5.234 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.4372, allocations: 84.16 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.4372, allocations: 0 / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00112/0.4384, allocations: 302.4 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4384, allocations: 56.53 kB / 0.5362 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.4387, allocations: 199 kB / 0.5364 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4387, allocations: 27.02 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.4388, allocations: 109.6 kB / 0.5365 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.4388, allocations: 46.16 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.4389, allocations: 32.83 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.439, allocations: 326.5 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.4391, allocations: 39.64 kB / 0.5369 GB, free: 8.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4392, allocations: 60.03 kB / 0.537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4394, allocations: 101.6 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4394, allocations: 0 / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002771/0.4397, allocations: 158 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4397, allocations: 4.844 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4398, allocations: 1.125 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4398, allocations: 1.156 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4399, allocations: 24.98 kB / 0.5373 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4399, allocations: 5.031 kB / 0.5373 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.44, allocations: 6.25 kB / 0.5373 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.44, allocations: 7.281 kB / 0.5373 GB, free: 8.582 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 (15): * Single equations (assignments): 15 * 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.0001291/0.4401, allocations: 133.7 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.4402, allocations: 14.22 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.4402, allocations: 24.92 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4402, allocations: 2.219 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4402, allocations: 3.938 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4403, allocations: 0 / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.4411, allocations: 489 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4411, allocations: 0 / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.4412, allocations: 19.38 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4412, allocations: 1.281 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4412, allocations: 11.58 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4412, allocations: 1.375 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4413, allocations: 0 / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.4417, allocations: 257.7 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.4418, allocations: 93.2 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.4419, allocations: 3.094 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.442, allocations: 6.156 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.442, allocations: 13.36 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.4421, allocations: 9.047 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4423, allocations: 151.3 kB / 0.5385 GB, free: 7.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4423, allocations: 4 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.4427, allocations: 34.77 kB / 0.5385 GB, free: 7.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001525/0.4442, allocations: 0.4976 MB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.4445, allocations: 100.4 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4445, allocations: 1.156 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4446, allocations: 48.86 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.445, allocations: 44.02 kB / 0.5392 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4457, allocations: 272.5 kB / 0.5394 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4462, allocations: 0.7106 MB / 0.5401 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.4463, allocations: 30.03 kB / 0.5401 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.4463, allocations: 28.67 kB / 0.5402 GB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4464, allocations: 3.938 kB / 0.5402 GB, free: 6.227 MB / 398.1 MB Notification: Performance of Templates: time 0.006524/0.4529, allocations: 2.22 MB / 0.5423 GB, free: 5.102 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches