Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.302/1.302, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0008503/0.0008502, allocations: 90.78 kB / 293.3 MB, free: 10.76 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.2941/0.2941, allocations: 44.13 MB / 388.5 MB, free: 38.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 16 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3034, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4141, allocations: 89.31 MB / 0.598 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4144, allocations: 79.95 kB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.4296, allocations: 5.656 MB / 0.6036 GB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.4297, allocations: 3.938 kB / 0.6036 GB, free: 36 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4297, allocations: 7.938 kB / 0.6036 GB, free: 28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005755/0.4303, allocations: 423.1 kB / 0.604 GB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4303, allocations: 8.031 kB / 0.604 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4304, allocations: 8.844 kB / 0.604 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.4307, allocations: 221.6 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.4307, allocations: 4.375 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.4307, allocations: 384 / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4309, allocations: 62.16 kB / 0.6043 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4309, allocations: 192 / 0.6043 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4309, allocations: 11.94 kB / 0.6043 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4309, allocations: 0 / 0.6043 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.431, allocations: 19.98 kB / 0.6043 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4314, allocations: 288.9 kB / 0.6046 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4316, allocations: 70.53 kB / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.4317, allocations: 28.84 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.4317, allocations: 0 / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4319, allocations: 63.39 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4319, allocations: 0 / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005066/0.4324, allocations: 189 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4325, allocations: 51.41 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4327, allocations: 207.3 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4327, allocations: 25.7 kB / 0.6052 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.4327, allocations: 100.1 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.4328, allocations: 23.66 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.4328, allocations: 8 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4329, allocations: 323 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.433, allocations: 23.98 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.4331, allocations: 45.64 kB / 0.6057 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4332, allocations: 57.7 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4332, allocations: 0 / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.4334, allocations: 105.5 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4334, allocations: 4 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4334, allocations: 0 / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4334, allocations: 4 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.4335, allocations: 12 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4335, allocations: 4.031 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.4336, allocations: 12.36 kB / 0.6059 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4336, allocations: 4 kB / 0.6059 GB, free: 13.43 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 (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 8.752e-05/0.4337, allocations: 125.7 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.4337, allocations: 19.75 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.434, allocations: 131 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.434, allocations: 0 / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.434, allocations: 0 / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.434, allocations: 4 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.4345, allocations: 419.4 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4345, allocations: 0 / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.4345, allocations: 11.98 kB / 0.6065 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4345, allocations: 0 / 0.6065 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4345, allocations: 4.281 kB / 0.6065 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4345, allocations: 0 / 0.6065 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4345, allocations: 3.938 kB / 0.6066 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.4348, allocations: 220.1 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.4349, allocations: 97 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.4349, allocations: 0 / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.435, allocations: 4 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.435, allocations: 15.92 kB / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.435, allocations: 4 kB / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4352, allocations: 152.9 kB / 0.607 GB, free: 12.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4352, allocations: 0 / 0.607 GB, free: 12.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4354, allocations: 35.92 kB / 0.6071 GB, free: 12.09 MB / 426.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) * Number of clocked states: 0 () * 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.0009831/0.4364, allocations: 479.8 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.4366, allocations: 55.97 kB / 0.6076 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4366, allocations: 0 / 0.6076 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.4367, allocations: 35.92 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.4371, allocations: 27.98 kB / 0.6076 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.4375, allocations: 254.2 kB / 0.6079 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.4378, allocations: 0.7159 MB / 0.6086 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.4379, allocations: 20.84 kB / 0.6086 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4379, allocations: 15.44 kB / 0.6086 GB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4379, allocations: 0 / 0.6086 GB, free: 10.64 MB / 426.7 MB Notification: Performance of Templates: time 0.00415/0.4421, allocations: 1.722 MB / 0.6103 GB, free: 8.93 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches