Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,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.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 99.25 kB / 17 MB, free: 6.387 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.001495/0.001495, allocations: 181 kB / 17.89 MB, free: 5.914 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.506/1.506, allocations: 223.3 MB / 241.9 MB, free: 244 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.2316/0.2316, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 12.69 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002149/0.1383, allocations: 1.243 MB / 472.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.14, allocations: 0.9687 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.1401, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1404, allocations: 15.94 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1406, allocations: 39.84 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.141, allocations: 98.56 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1412, allocations: 43.84 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1413, allocations: 19.97 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.1414, allocations: 15.92 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1416, allocations: 23.86 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1416, allocations: 4 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1418, allocations: 39.98 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1419, allocations: 11.97 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.1419, allocations: 37.64 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1421, allocations: 59.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1421, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1421, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1421, allocations: 3.938 kB / 474.2 MB, free: 11.05 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.0005338/0.1427, allocations: 375.4 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1427, allocations: 8.562 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.1428, allocations: 4 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.143, allocations: 186.8 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.143, allocations: 4 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1431, allocations: 7.953 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1433, allocations: 63.39 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1433, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1433, allocations: 8 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1433, allocations: 0 / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.1434, allocations: 23.98 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1439, allocations: 288.8 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1441, allocations: 46.56 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.1442, allocations: 20.94 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1442, allocations: 0 / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1442, allocations: 34.56 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1442, allocations: 3.938 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.1448, allocations: 161.3 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1449, allocations: 85.09 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.145, allocations: 133.8 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.145, allocations: 25.7 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.1451, allocations: 92.12 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1452, allocations: 15.75 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1452, allocations: 0 / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1454, allocations: 330.7 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.1455, allocations: 23.98 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1456, allocations: 37.7 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.1457, allocations: 32.16 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1457, allocations: 4 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.1459, allocations: 93.61 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1459, allocations: 4 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1459, allocations: 0 / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1459, allocations: 0 / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.146, allocations: 19.98 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.146, allocations: 3.938 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.1461, allocations: 8 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1461, allocations: 4 kB / 476.3 MB, free: 8.711 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 0.0001011/0.1462, allocations: 121.8 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1462, allocations: 7.906 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1465, allocations: 101.6 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1465, allocations: 4 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1465, allocations: 3.938 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1465, allocations: 3.984 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.147, allocations: 362.5 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.147, allocations: 0 / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1471, allocations: 16 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1471, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1471, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1471, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1471, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1474, allocations: 203.6 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1474, allocations: 89.22 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1475, allocations: 8 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1475, allocations: 4 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1476, allocations: 11.97 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1476, allocations: 4 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1477, allocations: 102.1 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1478, allocations: 8 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.148, allocations: 19.98 kB / 477.4 MB, free: 7.559 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.001019/0.149, allocations: 441.7 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1492, allocations: 59.97 kB / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1493, allocations: 0 / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.1493, allocations: 31.92 kB / 477.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1497, allocations: 19.94 kB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.1501, allocations: 172.8 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1504, allocations: 0.6926 MB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.036e-05/0.1505, allocations: 11.98 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1505, allocations: 19.42 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1505, allocations: 0 / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Templates: time 0.004956/0.1555, allocations: 1.299 MB / 480.1 MB, free: 4.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches