Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 94.19 kB / 17.35 MB, free: 6.371 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.001123/0.001123, allocations: 180 kB / 18.26 MB, free: 5.52 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.479/1.479, allocations: 223.3 MB / 242.3 MB, free: 188 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.2099/0.2099, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002368/0.1449, allocations: 1.274 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1469, allocations: 0.9882 MB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.147, allocations: 0 / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1473, allocations: 23.91 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1475, allocations: 35.84 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1478, allocations: 70.98 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.148, allocations: 59.83 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1481, allocations: 12 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1482, allocations: 15.92 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1483, allocations: 31.78 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1483, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1485, allocations: 43.98 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1485, allocations: 15.92 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.1486, allocations: 41.58 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1488, allocations: 83.77 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1488, allocations: 0 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1488, allocations: 0 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1489, allocations: 3.938 kB / 474.9 MB, free: 10.61 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.0005129/0.1494, allocations: 375.6 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1494, allocations: 8.031 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.1495, allocations: 4.938 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1497, allocations: 192.1 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1497, allocations: 4.375 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1497, allocations: 384 / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1499, allocations: 67.53 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1499, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.15, allocations: 4 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.15, allocations: 0 / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1501, allocations: 23.97 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.1505, allocations: 288.7 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1507, allocations: 42.66 kB / 475.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1508, allocations: 20.84 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1508, allocations: 0 / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1509, allocations: 30.56 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1509, allocations: 4 kB / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005995/0.1515, allocations: 149.4 kB / 476.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1516, allocations: 85.11 kB / 476.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1517, allocations: 133.8 kB / 476.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1517, allocations: 25.7 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1518, allocations: 92.12 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.1519, allocations: 23.66 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1519, allocations: 13.66 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.152, allocations: 322.8 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.1521, allocations: 27.98 kB / 476.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.1522, allocations: 33.7 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.1524, allocations: 56.86 kB / 476.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1524, allocations: 0 / 476.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.1526, allocations: 81.86 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1526, allocations: 4 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1526, allocations: 8.062 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1526, allocations: 0 / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.1527, allocations: 23.92 kB / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1527, allocations: 0 / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1528, allocations: 4 kB / 477 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1528, allocations: 0 / 477 MB, free: 8.266 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.1529, allocations: 122.3 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1529, allocations: 7.906 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1532, allocations: 101.6 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1532, allocations: 0 / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1532, allocations: 3.938 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1532, allocations: 0 / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1537, allocations: 354.4 kB / 477.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1537, allocations: 8.266 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.1537, allocations: 8 kB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1538, allocations: 7.938 kB / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1538, allocations: 0 / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1538, allocations: 3.938 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1538, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1541, allocations: 195.4 kB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1541, allocations: 81.02 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1542, allocations: 7.984 kB / 477.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1542, allocations: 7.938 kB / 477.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1543, allocations: 4.188 kB / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1543, allocations: 12 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1544, allocations: 110.1 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1544, allocations: 0 / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1547, allocations: 16 kB / 478.1 MB, free: 7.133 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 (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.001181/0.1559, allocations: 443.7 kB / 478.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1561, allocations: 59.91 kB / 478.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1561, allocations: 0 / 478.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/0.1562, allocations: 31.98 kB / 478.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1566, allocations: 18.8 kB / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.1571, allocations: 172.6 kB / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1575, allocations: 0.6926 MB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.1576, allocations: 4 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1577, allocations: 19.42 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1577, allocations: 0 / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004892/0.1626, allocations: 1.298 MB / 480.8 MB, free: 4.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches