Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008002, allocations: 102.6 kB / 16.02 MB, free: 76 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.001056/0.001056, allocations: 183.1 kB / 16.92 MB, free: 6.688 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.106/2.106, allocations: 205.4 MB / 223.1 MB, free: 5.457 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.439/0.439, allocations: 43.57 MB / 315 MB, free: 8.848 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.0005649/0.0005653, allocations: 12 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002331/0.146, allocations: 1.418 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1475, allocations: 0.773 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1476, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.148, allocations: 35.89 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1482, allocations: 47.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1485, allocations: 83.84 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1487, allocations: 87.69 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1489, allocations: 16.22 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.149, allocations: 43.72 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1491, allocations: 23.86 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1492, allocations: 11.94 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1493, allocations: 35.98 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1494, allocations: 15.91 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.1494, allocations: 65.44 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1497, allocations: 107.9 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1497, allocations: 3.938 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1497, allocations: 0 / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1497, allocations: 0 / 446.2 MB, free: 9.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006099/0.1503, allocations: 399.1 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1504, allocations: 16.03 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1504, allocations: 12.84 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1507, allocations: 208 kB / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1507, allocations: 4.375 kB / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1508, allocations: 4.125 kB / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1509, allocations: 57.67 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1509, allocations: 3.938 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.151, allocations: 0 / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.151, allocations: 3.938 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.1511, allocations: 23.98 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1515, allocations: 284.9 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1517, allocations: 58.67 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.1518, allocations: 24.78 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1518, allocations: 0 / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.152, allocations: 75.3 kB / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.152, allocations: 0 / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.1526, allocations: 169.3 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1526, allocations: 51.41 kB / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1528, allocations: 186.1 kB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1528, allocations: 29.7 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.1529, allocations: 108.1 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.153, allocations: 19.72 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.153, allocations: 17.72 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1531, allocations: 322.8 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.1532, allocations: 23.98 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.1533, allocations: 37.7 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1534, allocations: 65.64 kB / 448.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1534, allocations: 192 / 448.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1536, allocations: 97.52 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1536, allocations: 11.94 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1536, allocations: 0 / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1536, allocations: 0 / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.1537, allocations: 15.98 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1537, allocations: 4 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1538, allocations: 7.938 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.1538, allocations: 8.031 kB / 448.5 MB, free: 7.344 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001097/0.1539, allocations: 121.8 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.1539, allocations: 11.91 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.154, allocations: 12.72 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.154, allocations: 3.938 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.154, allocations: 4.359 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.154, allocations: 3.938 kB / 448.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1545, allocations: 395.3 kB / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1545, allocations: 7.938 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1545, allocations: 11.94 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1545, allocations: 0 / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1545, allocations: 7.938 kB / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1545, allocations: 0 / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1545, allocations: 0 / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1548, allocations: 204.3 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1548, allocations: 92.92 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1549, allocations: 3.938 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.1549, allocations: 7.984 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.155, allocations: 7.938 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.155, allocations: 4 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1551, allocations: 148 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1551, allocations: 0 / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1554, allocations: 20 kB / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001042/0.1564, allocations: 476.5 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1566, allocations: 63.84 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1566, allocations: 4.062 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.1567, allocations: 27.98 kB / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.157, allocations: 23.98 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.1575, allocations: 250.7 kB / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1578, allocations: 0.7004 MB / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1579, allocations: 12.88 kB / 451.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.1579, allocations: 19.42 kB / 451.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1579, allocations: 0 / 451.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of Templates: time 0.00463/0.1626, allocations: 1.616 MB / 452.7 MB, free: 2.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches