Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 66.72 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 57.79 MB / 442 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003226/0.153, allocations: 1.546 MB / 443.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005506/0.1536, allocations: 315.5 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.1536, allocations: 4 kB / 443.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1539, allocations: 79.77 kB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1541, allocations: 67.67 kB / 444 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1544, allocations: 67.84 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1545, allocations: 71.81 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1546, allocations: 15.88 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.1547, allocations: 35.89 kB / 444.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.1548, allocations: 43.91 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1548, allocations: 0 / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1549, allocations: 39.91 kB / 444.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.1549, allocations: 19.98 kB / 444.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.155, allocations: 23.75 kB / 444.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1551, allocations: 95.64 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1552, allocations: 0 / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1552, allocations: 0 / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1552, allocations: 0 / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004982/0.1557, allocations: 391 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1557, allocations: 15.89 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1558, allocations: 8.844 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.156, allocations: 193 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.156, allocations: 4.375 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.156, allocations: 4.375 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1562, allocations: 53.75 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1562, allocations: 4 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1562, allocations: 0 / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1562, allocations: 0 / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.1563, allocations: 19.98 kB / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1567, allocations: 284.8 kB / 445.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1569, allocations: 50.5 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.1569, allocations: 8.859 kB / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.157, allocations: 0 / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.157, allocations: 34.66 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.157, allocations: 0 / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005247/0.1575, allocations: 161.1 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1576, allocations: 51.41 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1577, allocations: 202.2 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1578, allocations: 25.7 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.1578, allocations: 100.1 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1578, allocations: 23.64 kB / 446 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1579, allocations: 21.72 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.158, allocations: 326.8 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.158, allocations: 15.98 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/0.1581, allocations: 19.98 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.1582, allocations: 45.02 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1582, allocations: 11.88 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001371/0.1583, allocations: 85.58 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1584, allocations: 4 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1584, allocations: 0 / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1584, allocations: 0 / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.1584, allocations: 15.98 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1585, allocations: 0 / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1585, allocations: 4 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1585, allocations: 0 / 446.5 MB, free: 1.391 MB / 318.1 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 (5): * Single equations (assignments): 5 * 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 7.108e-05/0.1586, allocations: 133.7 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.1586, allocations: 7.906 kB / 446.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.1588, allocations: 97.91 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1588, allocations: 288 / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1588, allocations: 0 / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1589, allocations: 0 / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.1592, allocations: 358.4 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1592, allocations: 3.984 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.1592, allocations: 11.98 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1593, allocations: 7.938 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.1593, allocations: 0 / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1593, allocations: 3.938 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1593, allocations: 0 / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1594, allocations: 183.5 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.1595, allocations: 89 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1595, allocations: 0 / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.1596, allocations: 7.938 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1596, allocations: 4 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1596, allocations: 7.984 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.1597, allocations: 147.2 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 3.938 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.16, allocations: 19.98 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009132/0.1609, allocations: 401.2 kB / 448 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1611, allocations: 47.97 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1611, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.1612, allocations: 27.92 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1615, allocations: 15.98 kB / 448.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.162, allocations: 214.1 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1624, allocations: 0.7002 MB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.1624, allocations: 11.98 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1624, allocations: 11.44 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1624, allocations: 0 / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Templates: time 0.004111/0.1666, allocations: 1.122 MB / 450.1 MB, free: 13.72 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches