Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 85.98 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1435, allocations: 62.46 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003316/0.1468, allocations: 1.583 MB / 482.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1487, allocations: 1.167 MB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.1487, allocations: 4 kB / 483.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.149, allocations: 23.84 kB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1493, allocations: 83.62 kB / 483.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1497, allocations: 123.3 kB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1499, allocations: 67.83 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.15, allocations: 16 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.1501, allocations: 27.86 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1503, allocations: 35.83 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1503, allocations: 4 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.1505, allocations: 95.88 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1505, allocations: 8 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1506, allocations: 27.8 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1509, allocations: 131.7 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1509, allocations: 3.984 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1509, allocations: 4 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1509, allocations: 0 / 484.2 MB, free: 1.805 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.0005679/0.1515, allocations: 403.4 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1515, allocations: 8.031 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.1516, allocations: 4.938 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1518, allocations: 196 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1518, allocations: 4.375 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1519, allocations: 384 / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1521, allocations: 79.45 kB / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1521, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1521, allocations: 4 kB / 484.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1521, allocations: 0 / 484.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.1522, allocations: 19.98 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.1527, allocations: 288.8 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1529, allocations: 50.55 kB / 485.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.153, allocations: 12.86 kB / 485.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.153, allocations: 7.984 kB / 485.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.153, allocations: 30.56 kB / 485.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.153, allocations: 0 / 485.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005891/0.1536, allocations: 157.3 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1537, allocations: 77.11 kB / 485.5 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1539, allocations: 148.2 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1539, allocations: 33.64 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.154, allocations: 92.08 kB / 485.7 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.154, allocations: 23.7 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.154, allocations: 13.72 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1542, allocations: 330.8 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.1543, allocations: 19.98 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.374e-05/0.1544, allocations: 33.7 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1545, allocations: 48.83 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1546, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.1548, allocations: 85.69 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1548, allocations: 8 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1548, allocations: 0 / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1548, allocations: 3.938 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.1549, allocations: 11.98 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1549, allocations: 4 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.155, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.155, allocations: 16.17 kB / 486.3 MB, free: 15.39 MB / 366.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 9.136e-05/0.1551, allocations: 113.8 kB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1551, allocations: 11.91 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1554, allocations: 98.23 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1554, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1554, allocations: 3.984 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1554, allocations: 3.938 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1559, allocations: 362.4 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1559, allocations: 0 / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.156, allocations: 12 kB / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.156, allocations: 0 / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.156, allocations: 3.984 kB / 486.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.156, allocations: 11.86 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.156, allocations: 0 / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1563, allocations: 191.4 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1564, allocations: 77.11 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1564, allocations: 4 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1565, allocations: 7.938 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1565, allocations: 7.984 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1565, allocations: 0 / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1567, allocations: 113.3 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1567, allocations: 3.938 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.157, allocations: 39.98 kB / 487.4 MB, free: 14.24 MB / 366.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.001716/0.1587, allocations: 484.2 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1589, allocations: 59.91 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1589, allocations: 0 / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.159, allocations: 35.91 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1594, allocations: 18.64 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1599, allocations: 207 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1603, allocations: 0.6885 MB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1603, allocations: 23.36 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1604, allocations: 0 / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.004207/0.1646, allocations: 1.962 MB / 490.8 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches