Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001581, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 206.2 kB / 16.79 MB, free: 6.84 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.697/1.697, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3824/0.3824, allocations: 43.5 MB / 313.5 MB, free: 8.473 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.001635/0.001635, allocations: 67.91 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1427, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00364/0.1464, allocations: 1.61 MB / 441.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.1471, allocations: 311.6 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.1472, allocations: 4 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1475, allocations: 27.83 kB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1477, allocations: 27.92 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1479, allocations: 75.84 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1481, allocations: 43.92 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1482, allocations: 15.97 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1483, allocations: 15.88 kB / 441.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1483, allocations: 27.84 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1484, allocations: 0 / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.1485, allocations: 27.98 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1485, allocations: 23.92 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.1486, allocations: 19.81 kB / 442 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1488, allocations: 80 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1488, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1488, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1488, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.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.0005521/0.1494, allocations: 387.1 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1494, allocations: 8.031 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1495, allocations: 12.84 kB / 442.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1498, allocations: 192.2 kB / 442.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1498, allocations: 8.375 kB / 442.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1498, allocations: 384 / 442.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.15, allocations: 49.81 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.15, allocations: 0 / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.15, allocations: 0 / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.15, allocations: 0 / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.1501, allocations: 27.97 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.1506, allocations: 284.7 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1509, allocations: 42.66 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1509, allocations: 20.84 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.151, allocations: 0 / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.151, allocations: 30.56 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.151, allocations: 4 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006268/0.1516, allocations: 141.3 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1517, allocations: 51.41 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1519, allocations: 161.8 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1519, allocations: 25.7 kB / 443.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.152, allocations: 96.12 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.152, allocations: 27.73 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1521, allocations: 21.7 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1522, allocations: 322.8 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.1523, allocations: 15.92 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.1523, allocations: 19.98 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1525, allocations: 52.77 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1525, allocations: 4 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.1527, allocations: 73.58 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1527, allocations: 8 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1527, allocations: 3.938 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1527, allocations: 0 / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.1528, allocations: 11.98 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1528, allocations: 3.938 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.1529, allocations: 7.984 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1529, allocations: 8.281 kB / 444.2 MB, free: 10.21 MB / 382.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.000127/0.153, allocations: 125.7 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1531, allocations: 7.906 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1533, allocations: 94.2 kB / 444.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1533, allocations: 64 / 444.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1534, allocations: 4 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1534, allocations: 3.984 kB / 444.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1539, allocations: 350.5 kB / 444.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1539, allocations: 0 / 444.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1539, allocations: 12 kB / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.154, allocations: 3.984 kB / 444.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.154, allocations: 0 / 444.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.154, allocations: 7.938 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.154, allocations: 0 / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1542, allocations: 183.3 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1543, allocations: 77.11 kB / 445 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1543, allocations: 0 / 445 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1544, allocations: 11.92 kB / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1544, allocations: 4 kB / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1544, allocations: 0 / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1546, allocations: 134.5 kB / 445.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1546, allocations: 4 kB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1548, allocations: 16 kB / 445.2 MB, free: 9.09 MB / 382.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.0009663/0.1558, allocations: 400 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.156, allocations: 43.97 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1561, allocations: 0 / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1561, allocations: 27.92 kB / 445.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1566, allocations: 23.27 kB / 445.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1572, allocations: 199.9 kB / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.1577, allocations: 0.7004 MB / 446.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.1577, allocations: 4 kB / 446.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.1578, allocations: 11.44 kB / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1578, allocations: 0 / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of Templates: time 0.00437/0.1622, allocations: 1.046 MB / 447.7 MB, free: 6.625 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches