Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 181.7 kB / 17.06 MB, free: 5.098 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.267/1.267, allocations: 223.2 MB / 241 MB, free: 11.86 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.0008494/0.0008494, allocations: 96.23 kB / 292.2 MB, free: 10.91 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.3122/0.3122, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 61.9 MB / 0.5095 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4488, allocations: 88.17 MB / 0.5957 GB, free: 6.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.449, allocations: 71.94 kB / 0.5957 GB, free: 6.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01133/0.4604, allocations: 4.292 MB / 0.5999 GB, free: 2.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4605, allocations: 7.938 kB / 0.5999 GB, free: 2.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4605, allocations: 4 kB / 0.5999 GB, free: 2.598 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005078/0.461, allocations: 410.8 kB / 0.6003 GB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.461, allocations: 8.562 kB / 0.6003 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.4611, allocations: 11.91 kB / 0.6003 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4614, allocations: 207.9 kB / 0.6005 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4614, allocations: 0 / 0.6005 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4614, allocations: 4 kB / 0.6005 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4616, allocations: 65.56 kB / 0.6006 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4616, allocations: 0 / 0.6006 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4616, allocations: 4 kB / 0.6006 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4616, allocations: 0 / 0.6006 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.4617, allocations: 31.97 kB / 0.6006 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.4622, allocations: 312.7 kB / 0.6009 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.4623, allocations: 42.5 kB / 0.601 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4623, allocations: 4 kB / 0.601 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4624, allocations: 34.56 kB / 0.601 GB, free: 1.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4624, allocations: 0 / 0.601 GB, free: 1.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009541/0.4633, allocations: 261.5 kB / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4634, allocations: 55.41 kB / 0.6013 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4636, allocations: 183.1 kB / 0.6015 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.4636, allocations: 25.7 kB / 0.6015 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.4637, allocations: 116 kB / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.4637, allocations: 27.72 kB / 0.6016 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.4637, allocations: 0 / 0.6016 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4638, allocations: 326.8 kB / 0.602 GB, free: 316 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.4639, allocations: 35.97 kB / 0.602 GB, free: 280 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.464, allocations: 31.98 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.4641, allocations: 44.14 kB / 0.6021 GB, free: 204 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4641, allocations: 0 / 0.6021 GB, free: 204 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002186/0.4643, allocations: 121.5 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4644, allocations: 5.562 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4644, allocations: 7.984 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4644, allocations: 3.938 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.4645, allocations: 16 kB / 0.6022 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4645, allocations: 4 kB / 0.6022 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.4646, allocations: 7.984 kB / 0.6022 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.4646, allocations: 3.938 kB / 0.6022 GB, free: 28 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001226/0.4647, allocations: 137.7 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4648, allocations: 11.91 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.465, allocations: 134.3 kB / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.465, allocations: 0 / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4651, allocations: 0 / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4651, allocations: 3.984 kB / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4656, allocations: 443.2 kB / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4656, allocations: 0 / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.4657, allocations: 19.98 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4657, allocations: 4 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4657, allocations: 8.031 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4658, allocations: 3.938 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4658, allocations: 0 / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.466, allocations: 237.9 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.4661, allocations: 93.02 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4661, allocations: 0 / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.4662, allocations: 7.984 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4663, allocations: 11.95 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4663, allocations: 4 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.4664, allocations: 156 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4664, allocations: 4 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.4667, allocations: 28 kB / 0.6035 GB, free: 14.63 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001052/0.4677, allocations: 475.8 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.468, allocations: 83.89 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.468, allocations: 0 / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.4681, allocations: 47.91 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4683, allocations: 22.78 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.4688, allocations: 282.3 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.4691, allocations: 0.716 MB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.4692, allocations: 20.95 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.4692, allocations: 15.44 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4693, allocations: 3.938 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Templates: time 0.003672/0.4729, allocations: 1.37 MB / 0.6064 GB, free: 11.73 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches