Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009099/0.009099, allocations: 99.83 kB / 15.87 MB, free: 6.309 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.001727/0.001728, allocations: 195.3 kB / 16.79 MB, free: 6.238 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.763/1.763, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4355/0.4355, allocations: 43.49 MB / 313.5 MB, free: 8.27 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.001541/0.001541, allocations: 66.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1418, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.003245/0.1452, allocations: 1.614 MB / 441.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.1458, allocations: 327.6 kB / 441.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.1459, allocations: 0 / 441.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1461, allocations: 15.92 kB / 441.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1463, allocations: 31.91 kB / 441.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1466, allocations: 79.84 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1467, allocations: 55.84 kB / 441.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1468, allocations: 23.95 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.1469, allocations: 19.88 kB / 442 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1469, allocations: 19.86 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.147, allocations: 4 kB / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.147, allocations: 27.98 kB / 442 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1471, allocations: 11.98 kB / 442 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1472, allocations: 23.8 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1473, allocations: 76.02 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1473, allocations: 7.938 kB / 442.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1473, allocations: 0 / 442.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1474, allocations: 0 / 442.1 MB, free: 12.26 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.0004846/0.1478, allocations: 387.2 kB / 442.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1479, allocations: 8.031 kB / 442.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1479, allocations: 8.844 kB / 442.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1481, allocations: 188.2 kB / 442.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.1481, allocations: 4.312 kB / 442.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1482, allocations: 4.375 kB / 442.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1483, allocations: 61.8 kB / 442.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1484, allocations: 0 / 442.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1484, allocations: 0 / 442.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1484, allocations: 0 / 442.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.1485, allocations: 19.98 kB / 442.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.1489, allocations: 284.8 kB / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1491, allocations: 46.56 kB / 443.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.1492, allocations: 20.94 kB / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1492, allocations: 0 / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1492, allocations: 30.56 kB / 443.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1492, allocations: 0 / 443.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005694/0.1498, allocations: 153.2 kB / 443.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1499, allocations: 51.41 kB / 443.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.15, allocations: 149.8 kB / 443.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.15, allocations: 33.64 kB / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.1501, allocations: 96.12 kB / 443.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1501, allocations: 19.66 kB / 443.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1501, allocations: 17.72 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1503, allocations: 326.8 kB / 444 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1504, allocations: 19.98 kB / 444 MB, free: 10.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/0.1505, allocations: 19.98 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1506, allocations: 57.02 kB / 444.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1506, allocations: 0 / 444.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001812/0.1508, allocations: 81.56 kB / 444.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1508, allocations: 15.59 kB / 444.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1508, allocations: 0 / 444.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1508, allocations: 0 / 444.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.1509, allocations: 19.92 kB / 444.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1509, allocations: 4 kB / 444.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.151, allocations: 0 / 444.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.151, allocations: 7.938 kB / 444.2 MB, free: 9.945 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 8.815e-05/0.1511, allocations: 117.8 kB / 444.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1511, allocations: 11.91 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1514, allocations: 105.8 kB / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1514, allocations: 0 / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1514, allocations: 3.984 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1514, allocations: 288 / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.1518, allocations: 350.5 kB / 444.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1518, allocations: 4 kB / 444.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.1519, allocations: 15.98 kB / 444.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1519, allocations: 0 / 444.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1519, allocations: 3.984 kB / 444.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1519, allocations: 4.125 kB / 444.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/0.1519, allocations: 4 kB / 444.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1522, allocations: 187.4 kB / 445 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1522, allocations: 85.02 kB / 445.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1523, allocations: 4 kB / 445.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.1523, allocations: 7.922 kB / 445.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1524, allocations: 4 kB / 445.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1524, allocations: 0 / 445.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.1525, allocations: 123.2 kB / 445.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1525, allocations: 0 / 445.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1527, allocations: 8 kB / 445.3 MB, free: 8.82 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.0008874/0.1536, allocations: 425.3 kB / 445.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1538, allocations: 55.89 kB / 445.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1538, allocations: 0 / 445.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.1539, allocations: 23.98 kB / 445.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1543, allocations: 15.98 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.1546, allocations: 195.3 kB / 446 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1549, allocations: 0.6926 MB / 446.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.155, allocations: 11.98 kB / 446.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.155, allocations: 15.44 kB / 446.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.155, allocations: 0 / 446.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of Templates: time 0.003375/0.1584, allocations: 1.054 MB / 447.7 MB, free: 6.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches