Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 118.2 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.002012/0.002012, allocations: 201.2 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.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 75.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5288, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003311/0.5321, allocations: 1.734 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.5339, allocations: 1.019 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.534, allocations: 1.375 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.5343, allocations: 86.05 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.5347, allocations: 114 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.5349, allocations: 70.98 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.5351, allocations: 125.1 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5352, allocations: 10.88 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.5353, allocations: 57.75 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.5355, allocations: 60.64 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.5355, allocations: 2.75 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.5356, allocations: 44.86 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.5357, allocations: 20.17 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.5357, allocations: 43.95 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.536, allocations: 132.7 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.536, allocations: 4 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.536, allocations: 0 / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.536, allocations: 0 / 0.5345 GB, free: 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006257/0.5366, allocations: 417.5 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5367, allocations: 17.23 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.5368, allocations: 15.34 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.5371, allocations: 212.5 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5371, allocations: 1.531 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.5371, allocations: 10.28 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5373, allocations: 58.36 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5373, allocations: 0 / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5374, allocations: 1.094 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5374, allocations: 1.188 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.5375, allocations: 17.89 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.5379, allocations: 293.2 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.5381, allocations: 61.86 kB / 0.5356 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.5381, allocations: 16.77 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5382, allocations: 5.266 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5383, allocations: 65.58 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.5383, allocations: 0 / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.539, allocations: 178.8 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.539, allocations: 60.39 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.5393, allocations: 222.4 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5393, allocations: 26.83 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.5394, allocations: 105.8 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.5395, allocations: 24.17 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.5395, allocations: 20.53 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5397, allocations: 330.2 kB / 0.5366 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.5397, allocations: 27.3 kB / 0.5366 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.5398, allocations: 38.86 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5399, allocations: 58.94 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5399, allocations: 1.156 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.5402, allocations: 103.2 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5402, allocations: 5.594 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5402, allocations: 5.531 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.5402, allocations: 1.375 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5403, allocations: 16.89 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5404, allocations: 4.906 kB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.5404, allocations: 10.22 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5404, allocations: 2.188 kB / 0.5368 GB, free: 8.82 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.0001181/0.5405, allocations: 133.1 kB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.5406, allocations: 10.28 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.5406, allocations: 23.27 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5406, allocations: 0.9688 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5407, allocations: 1.094 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5407, allocations: 3.938 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.5412, allocations: 404.4 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5412, allocations: 5.922 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.5412, allocations: 6.25 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5412, allocations: 1.281 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5412, allocations: 5.312 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5413, allocations: 5.25 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5413, allocations: 1.281 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.5415, allocations: 201.4 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.5416, allocations: 91.62 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5416, allocations: 9.297 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.5417, allocations: 2.719 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5417, allocations: 14.77 kB / 0.5377 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.5418, allocations: 3.781 kB / 0.5377 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5419, allocations: 168.5 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5419, allocations: 0 / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00026/0.5422, allocations: 25.5 kB / 0.5379 GB, free: 7.84 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.001065/0.5433, allocations: 456.1 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.5435, allocations: 57.42 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5435, allocations: 3.938 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.5435, allocations: 34.41 kB / 0.5384 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.5439, allocations: 42.95 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.5445, allocations: 248.8 kB / 0.5387 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.5449, allocations: 0.7043 MB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.5449, allocations: 22.45 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.545, allocations: 15.56 kB / 0.5394 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.545, allocations: 4 kB / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Templates: time 0.005055/0.5501, allocations: 1.737 MB / 0.5411 GB, free: 5.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches