Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 108.9 kB / 17.33 MB, free: 5.996 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.001626/0.001627, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.18 MB / 336.2 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001993, allocations: 60.41 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1391, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003119/0.1423, allocations: 1.614 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000761/0.1431, allocations: 411.3 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1432, allocations: 3.938 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1434, allocations: 19.92 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1436, allocations: 35.84 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1439, allocations: 99.56 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.144, allocations: 55.84 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1441, allocations: 8 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.1442, allocations: 19.92 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.1443, allocations: 27.8 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1443, allocations: 0 / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.1444, allocations: 35.98 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.1444, allocations: 11.92 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.1445, allocations: 19.88 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1446, allocations: 75.78 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1446, allocations: 8 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1446, allocations: 0 / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1447, allocations: 0 / 471.1 MB, free: 12.3 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.0004297/0.1451, allocations: 371.6 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1451, allocations: 8.031 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1452, allocations: 8.844 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1454, allocations: 191.4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1454, allocations: 384 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1454, allocations: 384 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1455, allocations: 61.73 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1456, allocations: 3.906 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1456, allocations: 4 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1456, allocations: 3.984 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.1457, allocations: 23.98 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.146, allocations: 276.8 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1462, allocations: 50.55 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1463, allocations: 16.86 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1463, allocations: 4.078 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1464, allocations: 30.56 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1464, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005204/0.1469, allocations: 145.3 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1469, allocations: 55.41 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1471, allocations: 146 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1471, allocations: 25.7 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.1471, allocations: 88.14 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1472, allocations: 15.81 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1472, allocations: 21.7 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1473, allocations: 322.8 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.1474, allocations: 23.97 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.1475, allocations: 27.86 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1476, allocations: 53.02 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1476, allocations: 0 / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000178/0.1478, allocations: 85.58 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1478, allocations: 11.98 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1478, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1478, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.1479, allocations: 8 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1479, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.148, allocations: 11.98 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.148, allocations: 7.938 kB / 473.2 MB, free: 10.02 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 7.536e-05/0.1481, allocations: 122.2 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1481, allocations: 11.91 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1483, allocations: 93.95 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1483, allocations: 0 / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1484, allocations: 3.938 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1484, allocations: 4 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1488, allocations: 354.4 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1488, allocations: 4 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.1488, allocations: 12 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1489, allocations: 0 / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1489, allocations: 0 / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.1489, allocations: 4.125 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1489, allocations: 8 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.1491, allocations: 183.4 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1492, allocations: 85.02 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1492, allocations: 3.984 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.1493, allocations: 11.94 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.1493, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1493, allocations: 7.984 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.1494, allocations: 103.3 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 4 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1496, allocations: 12 kB / 474.2 MB, free: 8.902 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.0008272/0.1505, allocations: 412.6 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1507, allocations: 55.89 kB / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1507, allocations: 0 / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.1508, allocations: 27.98 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1511, allocations: 19.97 kB / 474.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1514, allocations: 189.5 kB / 474.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1517, allocations: 0.6924 MB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.1517, allocations: 8 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1518, allocations: 19.42 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1518, allocations: 4 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003218/0.155, allocations: 1.075 MB / 476.7 MB, free: 6.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches