Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001163/0.001163, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.262/0.262, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.33 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003183/0.1348, allocations: 1.722 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1363, allocations: 0.8886 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.1364, allocations: 7.938 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1367, allocations: 99.66 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.137, allocations: 83.72 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1373, allocations: 123.3 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1375, allocations: 119.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1377, allocations: 11.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1378, allocations: 59.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1379, allocations: 79.69 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1379, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1381, allocations: 55.98 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.1381, allocations: 31.89 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1382, allocations: 43.69 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1384, allocations: 151.5 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1384, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1384, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1385, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006192/0.1391, allocations: 446.7 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1391, allocations: 16.02 kB / 474.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1392, allocations: 20.75 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1395, allocations: 215.9 kB / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1395, allocations: 8.375 kB / 474.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1395, allocations: 8.125 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1397, allocations: 73.59 kB / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1397, allocations: 0 / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1398, allocations: 0 / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1398, allocations: 0 / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.1399, allocations: 39.97 kB / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1403, allocations: 316.7 kB / 475.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1406, allocations: 78.56 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.1406, allocations: 24.84 kB / 475.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1407, allocations: 4 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.1408, allocations: 71.39 kB / 475.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.556e-06/0.1408, allocations: 0 / 475.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008624/0.1417, allocations: 277.5 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1418, allocations: 59.28 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.142, allocations: 247.2 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.142, allocations: 33.64 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.1421, allocations: 116.1 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1422, allocations: 35.45 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1422, allocations: 33.7 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1424, allocations: 326.8 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.1425, allocations: 31.98 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.1426, allocations: 45.7 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1427, allocations: 89.7 kB / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1428, allocations: 4 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002314/0.143, allocations: 145.4 kB / 476.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.143, allocations: 4 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.143, allocations: 0 / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.143, allocations: 4 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.1431, allocations: 23.92 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1432, allocations: 7.938 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.1432, allocations: 4.031 kB / 476.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1432, allocations: 8 kB / 476.9 MB, free: 7.188 MB / 350.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 (14): * Single equations (assignments): 14 * 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.0001181/0.1433, allocations: 133.8 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.1434, allocations: 19.8 kB / 477.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.1434, allocations: 25.55 kB / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1434, allocations: 0 / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1435, allocations: 3.938 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1435, allocations: 3.984 kB / 477.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.144, allocations: 480 kB / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.144, allocations: 0 / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.1441, allocations: 19.98 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1441, allocations: 7.938 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1441, allocations: 0 / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1441, allocations: 7.938 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1441, allocations: 0 / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1445, allocations: 245 kB / 477.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.1446, allocations: 88.92 kB / 477.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.1446, allocations: 8 kB / 477.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.1447, allocations: 7.984 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1448, allocations: 8.094 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1448, allocations: 15.86 kB / 478 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1449, allocations: 192.2 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1449, allocations: 0 / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1452, allocations: 32 kB / 478.2 MB, free: 5.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00128/0.1465, allocations: 0.5018 MB / 478.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1468, allocations: 91.84 kB / 478.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1468, allocations: 0 / 478.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.1469, allocations: 47.98 kB / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1472, allocations: 38.72 kB / 478.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.1479, allocations: 316.7 kB / 479.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1483, allocations: 0.7162 MB / 479.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.1484, allocations: 33.12 kB / 479.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1484, allocations: 19.42 kB / 479.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1484, allocations: 0 / 479.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of Templates: time 0.005326/0.1537, allocations: 2.062 MB / 482 MB, free: 2.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches