Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 110.1 kB / 17.86 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.00187/0.00187, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2071/0.2071, allocations: 44.17 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.84 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00453/0.1302, allocations: 1.752 MB / 470.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1322, allocations: 0.8614 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1323, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.1328, allocations: 51.8 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1331, allocations: 47.83 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1336, allocations: 95.81 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1338, allocations: 91.7 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1339, allocations: 16.22 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1341, allocations: 35.8 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1342, allocations: 39.77 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1343, allocations: 4 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1344, allocations: 39.98 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.1345, allocations: 27.84 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1346, allocations: 35.73 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1349, allocations: 92.09 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1349, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1349, allocations: 4 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1349, allocations: 0 / 472.4 MB, free: 11.62 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.0007599/0.1357, allocations: 422.8 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1357, allocations: 8.031 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1358, allocations: 20.75 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1361, allocations: 208.6 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1362, allocations: 384 / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1362, allocations: 12.12 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1364, allocations: 53.67 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1364, allocations: 4 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1364, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1365, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1366, allocations: 27.92 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.1371, allocations: 304.7 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1373, allocations: 54.69 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.1374, allocations: 24.84 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1374, allocations: 0 / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.1377, allocations: 67.33 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.1377, allocations: 0 / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007388/0.1385, allocations: 181.2 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1386, allocations: 55.41 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1388, allocations: 222.7 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1389, allocations: 33.64 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.139, allocations: 112 kB / 474.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.139, allocations: 23.66 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1391, allocations: 25.7 kB / 474.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1392, allocations: 330.8 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.1393, allocations: 12 kB / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.1394, allocations: 41.7 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1396, allocations: 61.64 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1396, allocations: 0 / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.1399, allocations: 105.5 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1399, allocations: 4 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1399, allocations: 0 / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1399, allocations: 4 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1401, allocations: 16.03 kB / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1401, allocations: 3.938 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.1402, allocations: 15.92 kB / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1402, allocations: 0 / 474.8 MB, free: 8.977 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 0.000136/0.1403, allocations: 129.8 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1404, allocations: 15.8 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.1404, allocations: 17.78 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1404, allocations: 0 / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1405, allocations: 4 kB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1405, allocations: 3.938 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.1411, allocations: 399.3 kB / 475.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1411, allocations: 4 kB / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.1411, allocations: 7.938 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1411, allocations: 4 kB / 475.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1412, allocations: 3.938 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1412, allocations: 0 / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.1412, allocations: 8.031 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1415, allocations: 204.2 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1416, allocations: 89 kB / 475.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.1416, allocations: 7.938 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1418, allocations: 4 kB / 475.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1418, allocations: 3.984 kB / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1419, allocations: 8 kB / 475.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.1421, allocations: 176.4 kB / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1421, allocations: 0 / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.1425, allocations: 27.92 kB / 475.9 MB, free: 7.777 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.001488/0.144, allocations: 466.7 kB / 476.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1443, allocations: 59.91 kB / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1443, allocations: 0 / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.1444, allocations: 28 kB / 476.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.1449, allocations: 23.97 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.1456, allocations: 326.5 kB / 476.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.146, allocations: 0.716 MB / 477.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.1461, allocations: 15.44 kB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1461, allocations: 0 / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.004645/0.1507, allocations: 1.962 MB / 479.4 MB, free: 4.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches