Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 179.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008442, allocations: 96.81 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3463/0.3463, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3149, allocations: 61.9 MB / 0.5096 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.4204, allocations: 89.12 MB / 0.5966 GB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4206, allocations: 79.92 kB / 0.5967 GB, free: 5.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.4341, allocations: 5.431 MB / 0.602 GB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4341, allocations: 0 / 0.602 GB, free: 500 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.4342, allocations: 0 / 0.602 GB, free: 500 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004276/0.4346, allocations: 410.8 kB / 0.6024 GB, free: 40 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.4346, allocations: 8.031 kB / 0.6024 GB, free: 32 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.4347, allocations: 7.906 kB / 0.6024 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.435, allocations: 219.9 kB / 0.6026 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.435, allocations: 3.984 kB / 0.6026 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.435, allocations: 3.953 kB / 0.6026 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4351, allocations: 53.67 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.4351, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4351, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.4352, allocations: 3.938 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.4352, allocations: 15.98 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.4354, allocations: 185.6 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.4355, allocations: 62.48 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4356, allocations: 0 / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.4357, allocations: 75.44 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4357, allocations: 0 / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.436, allocations: 97.5 kB / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.436, allocations: 59.41 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4362, allocations: 167.1 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4362, allocations: 29.7 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4363, allocations: 100.1 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4363, allocations: 11.81 kB / 0.6034 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.4363, allocations: 0 / 0.6034 GB, free: 14.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.4364, allocations: 322.8 kB / 0.6037 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.4364, allocations: 15.98 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.4365, allocations: 37.7 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.4366, allocations: 12 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4366, allocations: 0 / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/0.4367, allocations: 85.52 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4367, allocations: 5.875 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.4368, allocations: 3.953 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4368, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.4368, allocations: 20.03 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4369, allocations: 0 / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.4369, allocations: 7.938 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4369, allocations: 3.984 kB / 0.6039 GB, free: 14.29 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.96e-05/0.437, allocations: 122.3 kB / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.437, allocations: 11.91 kB / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.4372, allocations: 97.88 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4372, allocations: 3.953 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4372, allocations: 8 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4373, allocations: 0 / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4374, allocations: 189.6 kB / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4374, allocations: 0 / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.4374, allocations: 4 kB / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4374, allocations: 384 / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.4374, allocations: 0 / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4375, allocations: 8 kB / 0.6043 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4375, allocations: 15.81 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.4376, allocations: 113 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.4377, allocations: 89.02 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4377, allocations: 3.938 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.4378, allocations: 7.984 kB / 0.6046 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.4378, allocations: 7.953 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.4378, allocations: 3.984 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.438, allocations: 148 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.438, allocations: 0 / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000202/0.4382, allocations: 27.94 kB / 0.6047 GB, free: 13.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008246/0.439, allocations: 407.6 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.4392, allocations: 47.91 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4392, allocations: 4 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.4392, allocations: 19.94 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.4394, allocations: 27.97 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4398, allocations: 225.1 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4401, allocations: 0.7082 MB / 0.6061 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.4401, allocations: 18.81 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.4402, allocations: 19.42 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4402, allocations: 0 / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003371/0.4436, allocations: 1.454 MB / 0.6076 GB, free: 10.54 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches