Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 107.4 kB / 17.03 MB, free: 6.102 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.001766/0.001766, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.617/1.617, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2489/0.2489, allocations: 43.52 MB / 314.7 MB, free: 476 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.001548/0.001549, allocations: 66.17 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003213/0.1519, allocations: 1.554 MB / 443.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1531, allocations: 0.9261 MB / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.1532, allocations: 0 / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1535, allocations: 27.84 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1537, allocations: 47.77 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1539, allocations: 67.8 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1541, allocations: 55.89 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1542, allocations: 11.94 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.1543, allocations: 27.84 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1544, allocations: 19.92 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1544, allocations: 4 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.1545, allocations: 55.91 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1546, allocations: 19.86 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1547, allocations: 19.88 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1549, allocations: 87.77 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1549, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1549, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1549, allocations: 0 / 444.9 MB, free: 3.219 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.0004999/0.1554, allocations: 383.2 kB / 445.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1554, allocations: 15.83 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1555, allocations: 8.938 kB / 445.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1557, allocations: 188.2 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1557, allocations: 12.3 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1558, allocations: 4.375 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1559, allocations: 63.53 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1559, allocations: 0 / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.156, allocations: 0 / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.156, allocations: 0 / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.1561, allocations: 23.98 kB / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1564, allocations: 272.8 kB / 445.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1566, allocations: 42.56 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.1566, allocations: 12.94 kB / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1567, allocations: 4 kB / 445.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1567, allocations: 38.56 kB / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1567, allocations: 0 / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004988/0.1572, allocations: 137.3 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1573, allocations: 81.11 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1574, allocations: 132.8 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1574, allocations: 25.7 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1575, allocations: 104 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1575, allocations: 7.812 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1575, allocations: 21.72 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.1576, allocations: 322.8 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.1577, allocations: 15.98 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.693e-05/0.1577, allocations: 37.64 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.1578, allocations: 48.86 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1579, allocations: 0 / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001439/0.158, allocations: 73.58 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.158, allocations: 4 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.158, allocations: 4 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1581, allocations: 0 / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1581, allocations: 11.98 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1581, allocations: 8.188 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.1582, allocations: 15.88 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1582, allocations: 4 kB / 447 MB, free: 0.8984 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 6.495e-05/0.1583, allocations: 125.7 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1583, allocations: 4 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.1585, allocations: 89.53 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1585, allocations: 0 / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1585, allocations: 4 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1585, allocations: 0 / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1589, allocations: 346.5 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1589, allocations: 0 / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.1589, allocations: 11.98 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1589, allocations: 0 / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.159, allocations: 4 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.159, allocations: 3.938 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.159, allocations: 0 / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1592, allocations: 183.4 kB / 447.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.1592, allocations: 77.11 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1593, allocations: 0 / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.1593, allocations: 11.92 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.1594, allocations: 4.281 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1594, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.733e-05/0.1595, allocations: 107.3 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1595, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1598, allocations: 27.98 kB / 447.9 MB, free: 15.81 MB / 334.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.001244/0.161, allocations: 451.9 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1613, allocations: 51.97 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1613, allocations: 3.938 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.1614, allocations: 23.98 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1618, allocations: 11.98 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1622, allocations: 149.5 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1626, allocations: 0.6944 MB / 449.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.1627, allocations: 4 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1628, allocations: 23.38 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1628, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Templates: time 0.004305/0.1671, allocations: 1.354 MB / 450.7 MB, free: 13.09 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches