Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.00141, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 95.97 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2192/0.2192, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/0.6164, allocations: 86.96 MB / 0.5509 GB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.6167, allocations: 78.08 kB / 0.5509 GB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.6298, allocations: 5.333 MB / 0.5561 GB, free: 3.766 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6299, allocations: 3.938 kB / 0.5561 GB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.6299, allocations: 4 kB / 0.5562 GB, free: 3.758 MB / 362.7 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.0004239/0.6303, allocations: 385.7 kB / 0.5565 GB, free: 3.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6304, allocations: 12.03 kB / 0.5565 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.6304, allocations: 19.7 kB / 0.5566 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.6307, allocations: 214.5 kB / 0.5568 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.6308, allocations: 0 / 0.5568 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.6308, allocations: 7.984 kB / 0.5568 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.59e-05/0.6309, allocations: 11.81 kB / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.631, allocations: 49.55 kB / 0.5568 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.631, allocations: 7.047 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.631, allocations: 0 / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.631, allocations: 4 kB / 0.5568 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.6314, allocations: 277.2 kB / 0.5571 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.6315, allocations: 46.19 kB / 0.5571 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.6315, allocations: 18.86 kB / 0.5572 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6315, allocations: 0 / 0.5572 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.6316, allocations: 61.64 kB / 0.5572 GB, free: 2.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.6317, allocations: 4 kB / 0.5572 GB, free: 2.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004415/0.6321, allocations: 158.5 kB / 0.5574 GB, free: 2.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.6321, allocations: 51.41 kB / 0.5574 GB, free: 2.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.6323, allocations: 175.8 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.6323, allocations: 25.7 kB / 0.5576 GB, free: 2.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.6323, allocations: 99.08 kB / 0.5577 GB, free: 2.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.6324, allocations: 22.95 kB / 0.5577 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.6324, allocations: 0 / 0.5577 GB, free: 2.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.6325, allocations: 326.3 kB / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.6325, allocations: 14.06 kB / 0.5581 GB, free: 1.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.6325, allocations: 35.41 kB / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.6326, allocations: 23.23 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6326, allocations: 0 / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.6327, allocations: 94.88 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6327, allocations: 7.984 kB / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6328, allocations: 0 / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6328, allocations: 4.031 kB / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.6329, allocations: 19.94 kB / 0.5582 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6329, allocations: 0 / 0.5582 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.6329, allocations: 8.172 kB / 0.5582 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.6329, allocations: 3.953 kB / 0.5582 GB, free: 1.59 MB / 362.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.633, allocations: 110.3 kB / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.633, allocations: 7.906 kB / 0.5584 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.6332, allocations: 115.3 kB / 0.5585 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6332, allocations: 8 kB / 0.5585 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6333, allocations: 0 / 0.5585 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6333, allocations: 0 / 0.5585 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.6336, allocations: 376.5 kB / 0.5588 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6336, allocations: 4 kB / 0.5588 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.6336, allocations: 11.98 kB / 0.5588 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6337, allocations: 0 / 0.5588 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6337, allocations: 0 / 0.5588 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6337, allocations: 8.031 kB / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6337, allocations: 0 / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.6339, allocations: 210.7 kB / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.6339, allocations: 95.59 kB / 0.5591 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.6339, allocations: 4 kB / 0.5592 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.634, allocations: 3.938 kB / 0.5592 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.6341, allocations: 19 kB / 0.5592 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.6341, allocations: 4 kB / 0.5592 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.6342, allocations: 138.7 kB / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6342, allocations: 0 / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.6344, allocations: 24 kB / 0.5593 GB, free: 484 kB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009096/0.6354, allocations: 409.4 kB / 0.5597 GB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.6355, allocations: 53.23 kB / 0.5598 GB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6355, allocations: 0 / 0.5598 GB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.6356, allocations: 26.69 kB / 0.5598 GB, free: 76 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.6359, allocations: 22.86 kB / 0.5598 GB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.6364, allocations: 166.1 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.6369, allocations: 0.7109 MB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.743e-05/0.637, allocations: 16.62 kB / 0.5607 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.637, allocations: 19.42 kB / 0.5607 GB, free: 15.11 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.637, allocations: 0 / 0.5607 GB, free: 15.11 MB / 378.7 MB Notification: Performance of Templates: time 0.005038/0.6421, allocations: 1.621 MB / 0.5623 GB, free: 13.51 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches