Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009039, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009497/0.0009499, allocations: 176.4 kB / 16.58 MB, free: 6.844 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.07/2.07, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.4285/0.4285, allocations: 43.58 MB / 314.6 MB, free: 8.793 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.0005165/0.0005165, allocations: 14.97 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 58.86 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002132/0.142, allocations: 1.394 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1432, allocations: 0.7383 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.1433, allocations: 3.938 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1437, allocations: 43.88 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1439, allocations: 47.83 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1441, allocations: 67.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1443, allocations: 79.7 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1444, allocations: 20.2 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.1445, allocations: 35.84 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.1446, allocations: 27.8 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1446, allocations: 4 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.1447, allocations: 35.98 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1448, allocations: 23.91 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1448, allocations: 41.64 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.145, allocations: 80.05 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.145, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.145, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.145, allocations: 0 / 445.5 MB, free: 10.34 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.0005386/0.1455, allocations: 402.8 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1456, allocations: 8.031 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1456, allocations: 11.91 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1459, allocations: 207.6 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1459, allocations: 4 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1459, allocations: 0 / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1461, allocations: 61.59 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1461, allocations: 7.906 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1462, allocations: 0 / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1462, allocations: 3.953 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1462, allocations: 19.98 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1466, allocations: 285 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1468, allocations: 66.55 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.1469, allocations: 16.86 kB / 446.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1469, allocations: 0 / 446.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1471, allocations: 79.33 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1471, allocations: 3.938 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005116/0.1476, allocations: 169.1 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1477, allocations: 55.41 kB / 446.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1479, allocations: 199.3 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1479, allocations: 25.7 kB / 447.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.148, allocations: 104.1 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.148, allocations: 19.7 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.148, allocations: 8 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1482, allocations: 322.8 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.1482, allocations: 19.98 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.1483, allocations: 41.64 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.1484, allocations: 24.06 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1484, allocations: 0 / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1486, allocations: 109.4 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1486, allocations: 4 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1486, allocations: 0 / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1486, allocations: 7.984 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.1487, allocations: 12 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1487, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1488, allocations: 4 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1488, allocations: 8 kB / 447.7 MB, free: 7.852 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.1489, allocations: 129.8 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1489, allocations: 19.86 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.149, allocations: 17.39 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.149, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.149, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.149, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1494, allocations: 399.2 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1494, allocations: 0 / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1495, allocations: 15.92 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1495, allocations: 4.031 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1495, allocations: 8 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1495, allocations: 0.5625 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1495, allocations: 0 / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1498, allocations: 200.2 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1498, allocations: 101 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1499, allocations: 7.938 kB / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.1499, allocations: 4 kB / 448.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.15, allocations: 7.984 kB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.15, allocations: 11.94 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1501, allocations: 148.9 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 0 / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1504, allocations: 31.91 kB / 448.8 MB, free: 6.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1515, allocations: 452.7 kB / 449.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1516, allocations: 63.89 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1516, allocations: 0 / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1517, allocations: 27.98 kB / 449.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1521, allocations: 28.09 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.1525, allocations: 262.2 kB / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1528, allocations: 0.7004 MB / 450.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.1529, allocations: 12.88 kB / 450.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1529, allocations: 15.44 kB / 450.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1529, allocations: 0 / 450.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of Templates: time 0.004271/0.1572, allocations: 1.596 MB / 451.9 MB, free: 3.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches