Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 103 kB / 16.27 MB, free: 5.93 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.001723/0.001723, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.861/1.861, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2542/0.2542, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001549/0.001549, allocations: 73.41 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1263, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003015/0.1294, allocations: 1.704 MB / 442.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1307, allocations: 0.7922 MB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1308, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.1312, allocations: 95.67 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1315, allocations: 67.73 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1317, allocations: 95.69 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1319, allocations: 103.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1321, allocations: 8.516 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.1322, allocations: 55.77 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1323, allocations: 55.81 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1323, allocations: 4 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1324, allocations: 43.98 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.1325, allocations: 19.92 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1326, allocations: 35.73 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1328, allocations: 115.6 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1328, allocations: 7.938 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1328, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1329, allocations: 0 / 443.7 MB, free: 3.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005329/0.1334, allocations: 418.9 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1335, allocations: 15.89 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.1335, allocations: 12.75 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1337, allocations: 204.1 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1338, allocations: 4.375 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1338, allocations: 8.125 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1339, allocations: 53.67 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.134, allocations: 3.938 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.134, allocations: 4 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.134, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.1341, allocations: 15.98 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.1344, allocations: 296.7 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1346, allocations: 58.67 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1347, allocations: 32.78 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1347, allocations: 0 / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1349, allocations: 71.33 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1349, allocations: 0 / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005105/0.1355, allocations: 169.2 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1355, allocations: 51.41 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1357, allocations: 215.6 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1357, allocations: 29.7 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.1357, allocations: 108.1 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1357, allocations: 27.64 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1358, allocations: 21.72 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.1358, allocations: 326.8 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.1359, allocations: 23.98 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.136, allocations: 37.7 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.1361, allocations: 57.66 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1361, allocations: 0 / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.1362, allocations: 109.4 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1362, allocations: 4 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1363, allocations: 0 / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1363, allocations: 4 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.1364, allocations: 15.98 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1364, allocations: 4.031 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.1364, allocations: 7.938 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1365, allocations: 8 kB / 446.1 MB, free: 1.07 MB / 318.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 7.656e-05/0.1365, allocations: 129.8 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1366, allocations: 11.91 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.1366, allocations: 17.34 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1366, allocations: 0 / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1366, allocations: 4 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1366, allocations: 7.922 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.137, allocations: 403.2 kB / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.137, allocations: 0 / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.137, allocations: 8 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1371, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1371, allocations: 4.312 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1371, allocations: 7.984 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1371, allocations: 0 / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1373, allocations: 204.3 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1373, allocations: 89.11 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1373, allocations: 3.938 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1374, allocations: 7.938 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1375, allocations: 11.92 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1375, allocations: 4 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1376, allocations: 163.2 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 3.938 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1379, allocations: 27.98 kB / 447.2 MB, free: 15.88 MB / 334.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.001297/0.1392, allocations: 462.9 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1394, allocations: 59.91 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1394, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1395, allocations: 31.94 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1399, allocations: 23.97 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.1405, allocations: 255.1 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1409, allocations: 0.7041 MB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.141, allocations: 16.88 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.1411, allocations: 19.44 kB / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1411, allocations: 0 / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Templates: time 0.005065/0.1461, allocations: 1.701 MB / 450.4 MB, free: 12.66 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches