Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.0009772, allocations: 97.33 kB / 16.02 MB, free: 84 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.00126/0.00126, allocations: 183.3 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.4785/0.4785, allocations: 43.57 MB / 315 MB, free: 8.805 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.0006549/0.0006549, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002563/0.1449, allocations: 1.291 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1465, allocations: 0.9181 MB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.1466, allocations: 0 / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1469, allocations: 23.92 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1471, allocations: 39.84 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1475, allocations: 79.89 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1477, allocations: 59.78 kB / 445.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1478, allocations: 28.44 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1479, allocations: 23.91 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1481, allocations: 23.86 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1482, allocations: 4 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1483, allocations: 51.91 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1483, allocations: 15.92 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1484, allocations: 45.58 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1486, allocations: 103.6 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1486, allocations: 0 / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1487, allocations: 0 / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1487, allocations: 4 kB / 446.1 MB, free: 9.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005388/0.1492, allocations: 375.3 kB / 446.5 MB, free: 9.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1493, allocations: 12.03 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1493, allocations: 12.84 kB / 446.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1496, allocations: 204.1 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1496, allocations: 384 / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1496, allocations: 4.375 kB / 446.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1498, allocations: 96.12 kB / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1498, allocations: 0 / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1499, allocations: 0 / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1499, allocations: 0 / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.15, allocations: 43.91 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.1505, allocations: 396.9 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1508, allocations: 85.16 kB / 447.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.1509, allocations: 37.8 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1509, allocations: 0 / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.1509, allocations: 42.48 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.151, allocations: 0 / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007489/0.1517, allocations: 237 kB / 447.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.1518, allocations: 110.8 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1519, allocations: 141.8 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.152, allocations: 29.7 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.152, allocations: 96.08 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1521, allocations: 39.44 kB / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1521, allocations: 13.72 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1522, allocations: 318.8 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.1523, allocations: 35.97 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1524, allocations: 62.55 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1526, allocations: 93.62 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1526, allocations: 0 / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002372/0.1529, allocations: 133.6 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1529, allocations: 4 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1529, allocations: 0 / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1529, allocations: 0 / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.153, allocations: 28.17 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.153, allocations: 3.938 kB / 448.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1531, allocations: 16 kB / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1531, allocations: 0 / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.875e-05/0.1532, allocations: 129.8 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.1533, allocations: 7.906 kB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.1536, allocations: 149.5 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1536, allocations: 0.75 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1536, allocations: 3.938 kB / 449 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1536, allocations: 3.938 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.1543, allocations: 0.5025 MB / 449.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1543, allocations: 48 / 449.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.1544, allocations: 31.91 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1544, allocations: 0 / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1544, allocations: 3.938 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1544, allocations: 4 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1544, allocations: 0 / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1547, allocations: 307.5 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1548, allocations: 88.95 kB / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1548, allocations: 4.188 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1549, allocations: 19.98 kB / 450 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.155, allocations: 7.984 kB / 450 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.155, allocations: 8 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.1551, allocations: 110.9 kB / 450.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1551, allocations: 0 / 450.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.1554, allocations: 31.98 kB / 450.2 MB, free: 5.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.00103/0.1564, allocations: 442.2 kB / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1567, allocations: 91.83 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1567, allocations: 4 kB / 450.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1568, allocations: 51.91 kB / 450.7 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1573, allocations: 23.67 kB / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1577, allocations: 242.9 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.158, allocations: 0.7004 MB / 451.7 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.239e-05/0.1581, allocations: 24.36 kB / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1582, allocations: 23.42 kB / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1582, allocations: 0 / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of Templates: time 0.004102/0.1623, allocations: 1.46 MB / 453.2 MB, free: 2.484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches