Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 110 kB / 17.04 MB, free: 5.359 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.001673/0.001673, allocations: 194.6 kB / 17.98 MB, free: 4.898 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.63/1.63, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2245/0.2245, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001586/0.001586, allocations: 66.42 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1415, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002781/0.1443, allocations: 1.546 MB / 443.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1454, allocations: 0.93 MB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.1455, allocations: 0 / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1458, allocations: 27.86 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.146, allocations: 43.77 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1462, allocations: 79.7 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1464, allocations: 55.84 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1465, allocations: 11.94 kB / 444.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.1466, allocations: 19.92 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1467, allocations: 35.78 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1467, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.1468, allocations: 55.97 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1469, allocations: 11.98 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.1469, allocations: 15.88 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1471, allocations: 87.78 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1472, allocations: 0 / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1472, allocations: 0 / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1472, allocations: 0 / 444.9 MB, free: 3.227 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.0004449/0.1476, allocations: 391.1 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1477, allocations: 15.89 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1477, allocations: 0.9375 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1479, allocations: 196 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1479, allocations: 384 / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.148, allocations: 4.375 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1481, allocations: 63.53 kB / 445.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1481, allocations: 0 / 445.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1482, allocations: 3.984 kB / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1482, allocations: 0 / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.1483, allocations: 27.92 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1486, allocations: 272.9 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1488, allocations: 38.56 kB / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.1488, allocations: 16.86 kB / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1488, allocations: 0 / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1489, allocations: 42.58 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1489, allocations: 0 / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005143/0.1494, allocations: 133.4 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1495, allocations: 85.05 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.1496, allocations: 125.8 kB / 446.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1496, allocations: 29.7 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.1496, allocations: 99.98 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1497, allocations: 15.81 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1497, allocations: 17.7 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.1498, allocations: 318.8 kB / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.1498, allocations: 19.98 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.1499, allocations: 29.7 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.15, allocations: 53.05 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.15, allocations: 3.938 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.1502, allocations: 81.52 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1502, allocations: 8 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1502, allocations: 0 / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1502, allocations: 4.266 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.1503, allocations: 8 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1503, allocations: 4 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.1503, allocations: 7.984 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1503, allocations: 4 kB / 447 MB, free: 0.9102 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.767e-05/0.1504, allocations: 121.7 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1504, allocations: 7.984 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1506, allocations: 93.47 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1507, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1507, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1507, allocations: 8 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.151, allocations: 342.5 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.151, allocations: 0 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.1511, allocations: 11.98 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1511, allocations: 4 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.1511, allocations: 0 / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1511, allocations: 3.938 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1511, allocations: 4.125 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1513, allocations: 179.4 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1513, allocations: 77.11 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1514, allocations: 8 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1514, allocations: 7.922 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1515, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1515, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.1516, allocations: 111.2 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1516, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1519, allocations: 24 kB / 447.9 MB, free: 15.81 MB / 334.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.00103/0.1529, allocations: 436.9 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1531, allocations: 51.91 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1531, allocations: 0 / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.1532, allocations: 27.92 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1536, allocations: 15.98 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.154, allocations: 149.5 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1543, allocations: 0.6982 MB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.1544, allocations: 11.98 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1544, allocations: 15.42 kB / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1544, allocations: 0 / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Templates: time 0.004308/0.1587, allocations: 1.354 MB / 450.7 MB, free: 13.1 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches