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.001434/0.001435, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.001496/0.001497, allocations: 193.1 kB / 16.9 MB, free: 6.18 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.825/1.825, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3907/0.3907, allocations: 43.5 MB / 313.6 MB, free: 8.512 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.001504/0.001504, allocations: 67.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003207/0.1501, allocations: 1.606 MB / 441.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.1508, allocations: 311.6 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.1508, allocations: 0 / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1511, allocations: 23.91 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1514, allocations: 35.86 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1516, allocations: 63.84 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1517, allocations: 59.84 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1519, allocations: 15.92 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.1519, allocations: 23.86 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.152, allocations: 23.91 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.152, allocations: 4 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.1521, allocations: 27.98 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1521, allocations: 19.88 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1522, allocations: 19.81 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1523, allocations: 87.98 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1523, allocations: 4 kB / 442.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1524, allocations: 0 / 442.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1524, allocations: 0 / 442.3 MB, free: 12.4 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.0004411/0.1528, allocations: 386.5 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1528, allocations: 11.89 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1529, allocations: 12.84 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1531, allocations: 188.2 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1531, allocations: 4.375 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1531, allocations: 4.375 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1533, allocations: 57.73 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1533, allocations: 0 / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1533, allocations: 0 / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1533, allocations: 0 / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.193e-05/0.1534, allocations: 19.98 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1537, allocations: 280.8 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1539, allocations: 50.5 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.154, allocations: 16.94 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.154, allocations: 0 / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.154, allocations: 30.56 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.154, allocations: 4 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000569/0.1546, allocations: 145.5 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1547, allocations: 51.41 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1548, allocations: 169.8 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1548, allocations: 25.7 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.1549, allocations: 96.12 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1549, allocations: 15.75 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.155, allocations: 17.72 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1551, allocations: 330.8 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1552, allocations: 11.98 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1552, allocations: 19.98 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1553, allocations: 52.77 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1553, allocations: 0 / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.1555, allocations: 81.67 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1555, allocations: 7.938 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1556, allocations: 7.922 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1556, allocations: 0 / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.1556, allocations: 16.23 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1557, allocations: 0 / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.1557, allocations: 4 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1557, allocations: 4 kB / 444.4 MB, free: 10.1 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.59e-05/0.1558, allocations: 129.8 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1558, allocations: 7.906 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1561, allocations: 97.89 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1561, allocations: 4 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1561, allocations: 0 / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1561, allocations: 0 / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1565, allocations: 346.5 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1565, allocations: 0 / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.1565, allocations: 11.98 kB / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1565, allocations: 0 / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1566, allocations: 8 kB / 445 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1566, allocations: 3.938 kB / 445 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1566, allocations: 0 / 445 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.1568, allocations: 183.3 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1568, allocations: 77.11 kB / 445.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1569, allocations: 4 kB / 445.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.1569, allocations: 3.938 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.157, allocations: 11.92 kB / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.157, allocations: 192 / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1571, allocations: 130.5 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1571, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1573, allocations: 16 kB / 445.4 MB, free: 8.98 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.0008851/0.1582, allocations: 409.7 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1584, allocations: 39.97 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1584, allocations: 8 kB / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.1585, allocations: 19.92 kB / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1589, allocations: 23.84 kB / 445.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1593, allocations: 210 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1596, allocations: 0.6924 MB / 446.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.1596, allocations: 20.23 kB / 446.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1597, allocations: 11.44 kB / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1597, allocations: 0 / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of Templates: time 0.00346/0.1631, allocations: 1.058 MB / 447.9 MB, free: 6.48 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