Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.001165/0.001165, allocations: 192 kB / 18.56 MB, free: 4.578 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.371/1.371, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2096/0.2096, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.98 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003136/0.1306, allocations: 1.712 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1319, allocations: 0.8885 MB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.132, allocations: 0 / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1323, allocations: 91.69 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1326, allocations: 75.73 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1329, allocations: 115.1 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1331, allocations: 111.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1333, allocations: 19.97 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.1334, allocations: 51.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1335, allocations: 63.81 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1335, allocations: 11.94 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1337, allocations: 55.97 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.1338, allocations: 27.86 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1338, allocations: 35.73 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1341, allocations: 139.8 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1341, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1341, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1341, allocations: 0 / 472.6 MB, free: 10.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006688/0.1348, allocations: 426.9 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1348, allocations: 16.03 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1349, allocations: 12.75 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1352, allocations: 216 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1352, allocations: 4.375 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1353, allocations: 4.125 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1354, allocations: 65.61 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1355, allocations: 3.906 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1355, allocations: 3.984 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1355, allocations: 4 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.1356, allocations: 19.98 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.136, allocations: 316.6 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1363, allocations: 62.55 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.1363, allocations: 16.98 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1363, allocations: 0 / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.1365, allocations: 75.38 kB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1366, allocations: 0 / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007343/0.1373, allocations: 245 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1374, allocations: 59.34 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1376, allocations: 223.5 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1376, allocations: 25.7 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1377, allocations: 120 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.1377, allocations: 35.55 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1378, allocations: 21.72 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1379, allocations: 330.8 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.138, allocations: 24 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.138, allocations: 49.69 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1382, allocations: 81.59 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1382, allocations: 0 / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002134/0.1384, allocations: 133.5 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1384, allocations: 4 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1385, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1385, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.1386, allocations: 27.92 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1386, allocations: 3.938 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1386, allocations: 4 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1386, allocations: 8.031 kB / 475.2 MB, free: 8.152 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 (13): * Single equations (assignments): 13 * 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.0001228/0.1388, allocations: 133.8 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1388, allocations: 11.81 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1389, allocations: 21.39 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1389, allocations: 3.938 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1389, allocations: 3.938 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1389, allocations: 0 / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.1394, allocations: 460 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1394, allocations: 0 / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.1395, allocations: 15.94 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1395, allocations: 4 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1395, allocations: 4.078 kB / 475.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1395, allocations: 3.938 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1395, allocations: 4 kB / 475.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1398, allocations: 229.1 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1399, allocations: 92.95 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1399, allocations: 7.984 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.14, allocations: 0 / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.14, allocations: 11.98 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1401, allocations: 7.984 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.1402, allocations: 179.4 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1402, allocations: 0 / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1405, allocations: 35.89 kB / 476.4 MB, free: 6.836 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 (11): * Single equations (assignments): 9 * 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.00121/0.1417, allocations: 0.4909 MB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1419, allocations: 83.84 kB / 477 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1419, allocations: 3.938 kB / 477 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.142, allocations: 40.05 kB / 477 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1424, allocations: 47.67 kB / 477.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.1429, allocations: 280.7 kB / 477.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1432, allocations: 0.7233 MB / 478.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.1432, allocations: 20.64 kB / 478.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1433, allocations: 19.44 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1433, allocations: 0 / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Templates: time 0.005352/0.1486, allocations: 1.953 MB / 480.1 MB, free: 3.355 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches