Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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 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 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) 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008816, allocations: 97.22 kB / 17 MB, free: 6.402 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.000999/0.0009991, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1461, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001789/0.148, allocations: 1.251 MB / 472.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000664/0.1487, allocations: 375.5 kB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1487, allocations: 0 / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.1489, allocations: 15.92 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1491, allocations: 31.92 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1493, allocations: 74.83 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1495, allocations: 51.84 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1496, allocations: 8 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.1497, allocations: 23.84 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.1498, allocations: 15.94 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1498, allocations: 0 / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.1498, allocations: 27.92 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1499, allocations: 11.98 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1499, allocations: 33.64 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.15, allocations: 59.91 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1501, allocations: 0 / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1501, allocations: 0 / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1501, allocations: 0 / 473.6 MB, free: 11.72 MB / 350.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.0004372/0.1505, allocations: 383.3 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1506, allocations: 12.5 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1506, allocations: 7.906 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1508, allocations: 179 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1508, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1508, allocations: 11.95 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.151, allocations: 53.61 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.151, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.151, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.151, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1511, allocations: 23.98 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.1516, allocations: 280.9 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1518, allocations: 46.5 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1519, allocations: 12.86 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1519, allocations: 8.078 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.152, allocations: 38.55 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.152, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000537/0.1525, allocations: 161.2 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1526, allocations: 51.41 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1527, allocations: 152.5 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1527, allocations: 25.7 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1528, allocations: 96.12 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1529, allocations: 19.7 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1529, allocations: 0 / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.153, allocations: 326.8 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.1531, allocations: 27.92 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.1531, allocations: 23.98 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.1532, allocations: 23.98 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1532, allocations: 0 / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.1534, allocations: 89.52 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1534, allocations: 4 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1534, allocations: 0 / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1534, allocations: 4 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.1535, allocations: 11.98 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1535, allocations: 8 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.1536, allocations: 8 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1536, allocations: 0 / 475.6 MB, free: 9.457 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/0.1537, allocations: 129.7 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1537, allocations: 3.906 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.154, allocations: 101.9 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.154, allocations: 0 / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.154, allocations: 0 / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.154, allocations: 0 / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.1544, allocations: 358.5 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1544, allocations: 384 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.1545, allocations: 19.92 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1545, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1545, allocations: 4 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1545, allocations: 4 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1545, allocations: 0 / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1547, allocations: 187.4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1548, allocations: 85.02 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1548, allocations: 4 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1549, allocations: 11.98 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1549, allocations: 0 / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1549, allocations: 0 / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.155, allocations: 125.4 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.155, allocations: 0 / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1553, allocations: 12 kB / 476.6 MB, free: 8.328 MB / 350.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 (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.0009077/0.1562, allocations: 407.7 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1564, allocations: 55.97 kB / 477.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1564, allocations: 0 / 477.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.1565, allocations: 27.98 kB / 477.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1568, allocations: 19.81 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.1572, allocations: 192.6 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1575, allocations: 0.6965 MB / 478 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.028e-05/0.1575, allocations: 7.984 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1576, allocations: 15.44 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1576, allocations: 3.938 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Templates: time 0.003399/0.161, allocations: 1.01 MB / 479.1 MB, free: 6.008 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches