Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001755/0.001755, allocations: 187 kB / 19.34 MB, free: 3.641 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.326/1.326, allocations: 222.9 MB / 243 MB, free: 15.08 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.2076/0.2076, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 66.25 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1325, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003272/0.1358, allocations: 1.691 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1374, allocations: 0.8885 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1375, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1378, allocations: 35.77 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1381, allocations: 55.75 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1385, allocations: 107.6 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1386, allocations: 99.73 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1388, allocations: 12.23 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.1389, allocations: 39.78 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.1389, allocations: 31.84 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.139, allocations: 4 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1391, allocations: 47.92 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.1391, allocations: 15.92 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1392, allocations: 31.75 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1394, allocations: 115.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1394, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1394, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1394, allocations: 0 / 473.9 MB, free: 10.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005398/0.14, allocations: 403 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.14, allocations: 16.02 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1401, allocations: 8.844 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1404, allocations: 203.8 kB / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1404, allocations: 4.375 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1404, allocations: 12.11 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1406, allocations: 53.67 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1406, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1406, allocations: 7.938 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1406, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1407, allocations: 19.98 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1411, allocations: 288.8 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1413, allocations: 54.69 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.1414, allocations: 24.84 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1414, allocations: 0 / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1416, allocations: 67.39 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.1416, allocations: 3.938 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005586/0.1421, allocations: 177.2 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1422, allocations: 59.39 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1424, allocations: 170.2 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1424, allocations: 25.7 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1424, allocations: 100.1 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1425, allocations: 23.66 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1425, allocations: 25.7 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1426, allocations: 330.8 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.1427, allocations: 20 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.1428, allocations: 33.7 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1429, allocations: 61.77 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.143, allocations: 3.938 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1431, allocations: 101.5 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1432, allocations: 8.031 kB / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1432, allocations: 0 / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1432, allocations: 4 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1433, allocations: 15.94 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1433, allocations: 0 / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.1434, allocations: 15.92 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1434, allocations: 0 / 476.2 MB, free: 7.918 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 (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 9.028e-05/0.1435, allocations: 120 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1435, allocations: 11.91 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.1436, allocations: 20.7 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1436, allocations: 3.984 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1436, allocations: 0 / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1436, allocations: 3.938 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1441, allocations: 387.3 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1441, allocations: 4.188 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.1441, allocations: 8 kB / 476.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1441, allocations: 3.938 kB / 476.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1442, allocations: 11.95 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1442, allocations: 384 / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1442, allocations: 4 kB / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1444, allocations: 212.1 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1445, allocations: 81.02 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1445, allocations: 11.94 kB / 477 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.1446, allocations: 7.984 kB / 477 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1446, allocations: 8 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1447, allocations: 4 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1448, allocations: 140.7 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1448, allocations: 0 / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.145, allocations: 24 kB / 477.2 MB, free: 6.766 MB / 350.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.001102/0.1461, allocations: 456.1 kB / 477.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1463, allocations: 59.95 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1464, allocations: 0 / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.1464, allocations: 32.08 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1468, allocations: 28.12 kB / 477.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1473, allocations: 214.9 kB / 478 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1475, allocations: 0.704 MB / 478.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.1476, allocations: 12.88 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1476, allocations: 15.44 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1476, allocations: 7.938 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.004435/0.1521, allocations: 1.689 MB / 480.4 MB, free: 3.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches