Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001032/0.001032, allocations: 192.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.232/0.232, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001729, allocations: 63.09 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1447, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002927/0.1477, allocations: 1.555 MB / 442.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005954/0.1483, allocations: 323.5 kB / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.1484, allocations: 4 kB / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1486, allocations: 19.84 kB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1488, allocations: 39.8 kB / 442.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1491, allocations: 91.73 kB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1492, allocations: 51.91 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1494, allocations: 15.94 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.1494, allocations: 23.86 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1495, allocations: 19.86 kB / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1495, allocations: 4 kB / 442.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1496, allocations: 35.98 kB / 442.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1496, allocations: 15.92 kB / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.1497, allocations: 15.88 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1499, allocations: 75.78 kB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1499, allocations: 0 / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1499, allocations: 0 / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1499, allocations: 0 / 442.8 MB, free: 4.617 MB / 318.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.00043/0.1503, allocations: 375.2 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1504, allocations: 15.83 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1504, allocations: 8.844 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1506, allocations: 188.2 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1506, allocations: 384 / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.1506, allocations: 8.375 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1508, allocations: 49.8 kB / 443.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1508, allocations: 0 / 443.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1508, allocations: 4 kB / 443.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1509, allocations: 0 / 443.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.151, allocations: 23.97 kB / 443.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1514, allocations: 288.8 kB / 443.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1516, allocations: 42.55 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.1516, allocations: 16.86 kB / 443.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1517, allocations: 0 / 443.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1517, allocations: 38.64 kB / 443.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1517, allocations: 7.938 kB / 443.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.1523, allocations: 145.3 kB / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1523, allocations: 51.41 kB / 444 MB, free: 3.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1525, allocations: 145.3 kB / 444.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1525, allocations: 25.7 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.1525, allocations: 100.1 kB / 444.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1526, allocations: 23.59 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1526, allocations: 17.7 kB / 444.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.1527, allocations: 322.8 kB / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.1528, allocations: 19.98 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.1529, allocations: 23.97 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.153, allocations: 57.02 kB / 444.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.153, allocations: 0 / 444.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001521/0.1531, allocations: 81.67 kB / 444.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1532, allocations: 4 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1532, allocations: 0 / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1532, allocations: 3.984 kB / 444.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.1533, allocations: 15.94 kB / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1533, allocations: 0 / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.1533, allocations: 11.89 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1533, allocations: 4 kB / 444.9 MB, free: 2.316 MB / 318.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 6.338e-05/0.1534, allocations: 121.7 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1534, allocations: 7.938 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.1536, allocations: 93.95 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1537, allocations: 4 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1537, allocations: 0 / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1537, allocations: 0 / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.154, allocations: 358.4 kB / 445.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.154, allocations: 3.984 kB / 445.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.1541, allocations: 8 kB / 445.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1541, allocations: 0 / 445.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1541, allocations: 4 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1541, allocations: 4.125 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1541, allocations: 4 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1543, allocations: 187.4 kB / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1544, allocations: 81.11 kB / 445.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1544, allocations: 0 / 445.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.1544, allocations: 11.92 kB / 445.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1545, allocations: 0 / 445.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1545, allocations: 4 kB / 445.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.1546, allocations: 119.2 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1548, allocations: 11.94 kB / 445.9 MB, free: 1.211 MB / 318.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.0009615/0.1558, allocations: 397.9 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.156, allocations: 59.89 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.156, allocations: 0 / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.1561, allocations: 27.98 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1565, allocations: 27.66 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.1569, allocations: 173.5 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1571, allocations: 0.6924 MB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.1572, allocations: 15.97 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1572, allocations: 11.44 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1572, allocations: 3.938 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Templates: time 0.00386/0.1611, allocations: 1.108 MB / 448.4 MB, free: 14.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches