Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 107.6 kB / 17.21 MB, free: 6.293 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.001059/0.001059, allocations: 194 kB / 18.12 MB, free: 5.383 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.42/1.42, allocations: 222.9 MB / 241.8 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.2306/0.2306, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 65.27 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00308/0.1392, allocations: 1.61 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.1401, allocations: 411.3 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.1401, allocations: 7.938 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1404, allocations: 15.91 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1405, allocations: 27.92 kB / 470.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1408, allocations: 98.81 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.141, allocations: 59.77 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1411, allocations: 15.98 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.1412, allocations: 19.92 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1412, allocations: 15.88 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1412, allocations: 4 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.1413, allocations: 31.97 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1414, allocations: 15.92 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.1414, allocations: 15.88 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1416, allocations: 75.73 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1416, allocations: 0 / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1416, allocations: 4 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1416, allocations: 0 / 470.9 MB, free: 12.41 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.0004858/0.1421, allocations: 371.6 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1422, allocations: 12.03 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1422, allocations: 4.844 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1424, allocations: 184.2 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1424, allocations: 8.375 kB / 471.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1424, allocations: 384 / 471.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1426, allocations: 57.73 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1426, allocations: 11.84 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1426, allocations: 0 / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1426, allocations: 0 / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.1427, allocations: 23.98 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1431, allocations: 272.9 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1433, allocations: 58.48 kB / 471.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.1434, allocations: 8.859 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1434, allocations: 4 kB / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1435, allocations: 42.64 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1435, allocations: 0 / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005736/0.1441, allocations: 145.3 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1441, allocations: 51.41 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1442, allocations: 144.8 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1443, allocations: 29.7 kB / 472.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1443, allocations: 92.12 kB / 472.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1444, allocations: 15.81 kB / 472.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1444, allocations: 21.7 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1445, allocations: 314.8 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.1446, allocations: 23.98 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.1447, allocations: 27.91 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1448, allocations: 52.83 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1448, allocations: 0 / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.145, allocations: 85.52 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.145, allocations: 4 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1451, allocations: 4 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1451, allocations: 7.984 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.1451, allocations: 8 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1452, allocations: 0 / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1452, allocations: 7.984 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1452, allocations: 0 / 473 MB, free: 10.13 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.0001054/0.1453, allocations: 126.2 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1454, allocations: 7.906 kB / 473.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1456, allocations: 109.9 kB / 473.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1456, allocations: 0 / 473.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1456, allocations: 3.938 kB / 473.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1456, allocations: 0 / 473.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.146, allocations: 346.9 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1461, allocations: 7.984 kB / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.1461, allocations: 19.94 kB / 473.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1461, allocations: 0 / 473.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1461, allocations: 4.281 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1461, allocations: 3.938 kB / 473.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1462, allocations: 0 / 473.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1464, allocations: 179.4 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.1464, allocations: 85 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1465, allocations: 8 kB / 473.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.1465, allocations: 7.922 kB / 473.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1466, allocations: 8 kB / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1466, allocations: 0 / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.1467, allocations: 111.2 kB / 474 MB, free: 9.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1467, allocations: 0 / 474 MB, free: 9.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1469, allocations: 12 kB / 474 MB, free: 9.008 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.0009154/0.1479, allocations: 416 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1481, allocations: 47.95 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1481, allocations: 0 / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.1481, allocations: 23.98 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1485, allocations: 15.98 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.1489, allocations: 195.2 kB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1492, allocations: 0.6926 MB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.261e-05/0.1492, allocations: 11.98 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1493, allocations: 11.44 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1493, allocations: 4 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Templates: time 0.00368/0.153, allocations: 1.047 MB / 476.5 MB, free: 6.66 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches