Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008741, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.0009324/0.0009325, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.433/1.433, allocations: 223.3 MB / 243 MB, free: 14.46 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.2054/0.2054, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003533, allocations: 9.062 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002428/0.1251, allocations: 1.417 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1274, allocations: 1.44 MB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1276, allocations: 0 / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1279, allocations: 31.89 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1282, allocations: 51.77 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1285, allocations: 94.2 kB / 476 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1287, allocations: 95.69 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1288, allocations: 12.23 kB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.1289, allocations: 31.8 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1291, allocations: 43.77 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1291, allocations: 0 / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.1293, allocations: 55.98 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.1293, allocations: 19.91 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.1294, allocations: 53.5 kB / 476.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1296, allocations: 92.08 kB / 476.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1296, allocations: 8 kB / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1296, allocations: 0 / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1297, allocations: 0 / 476.4 MB, free: 9.844 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.0007481/0.1304, allocations: 383.2 kB / 476.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1305, allocations: 12.03 kB / 476.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.1305, allocations: 12.75 kB / 476.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1308, allocations: 202.4 kB / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1308, allocations: 384 / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1308, allocations: 12.12 kB / 477 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.131, allocations: 71.39 kB / 477 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.131, allocations: 0 / 477 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.131, allocations: 0 / 477 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1311, allocations: 0 / 477 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.1311, allocations: 23.92 kB / 477.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1316, allocations: 284.8 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1319, allocations: 54.67 kB / 477.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.132, allocations: 20.86 kB / 477.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.132, allocations: 11.92 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1323, allocations: 63.38 kB / 477.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.1323, allocations: 4 kB / 477.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007846/0.1331, allocations: 177.2 kB / 477.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.1332, allocations: 81.11 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1334, allocations: 145.8 kB / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1335, allocations: 33.7 kB / 477.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.1336, allocations: 100.1 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.1336, allocations: 23.66 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1337, allocations: 9.719 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1339, allocations: 334.8 kB / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.134, allocations: 19.98 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1341, allocations: 38.56 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1343, allocations: 65.64 kB / 478.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1343, allocations: 0 / 478.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002738/0.1346, allocations: 101.6 kB / 478.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1346, allocations: 6.812 kB / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1346, allocations: 0 / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1347, allocations: 4 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1348, allocations: 15.98 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1348, allocations: 0 / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.1349, allocations: 15.88 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1349, allocations: 4 kB / 478.6 MB, free: 7.312 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.0001265/0.1351, allocations: 117.8 kB / 478.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1351, allocations: 11.91 kB / 478.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.1352, allocations: 12.72 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1352, allocations: 4 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.1352, allocations: 0 / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1352, allocations: 11.86 kB / 478.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.1359, allocations: 391.4 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1359, allocations: 0 / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.1359, allocations: 11.94 kB / 479.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1359, allocations: 4.031 kB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.136, allocations: 3.938 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.136, allocations: 4 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.136, allocations: 80 / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1363, allocations: 204.3 kB / 479.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1364, allocations: 89.02 kB / 479.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.1365, allocations: 3.938 kB / 479.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1366, allocations: 11.98 kB / 479.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1366, allocations: 7.938 kB / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1367, allocations: 4 kB / 479.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1368, allocations: 122 kB / 479.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1368, allocations: 192 / 479.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.1373, allocations: 35.92 kB / 479.7 MB, free: 6.176 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.00171/0.139, allocations: 494.2 kB / 480.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1393, allocations: 71.89 kB / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1393, allocations: 0 / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1394, allocations: 27.98 kB / 480.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.14, allocations: 27.92 kB / 480.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.1406, allocations: 248 kB / 480.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.141, allocations: 0.6926 MB / 481.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.1411, allocations: 23.42 kB / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1411, allocations: 0 / 481.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Templates: time 0.005638/0.1467, allocations: 2.038 MB / 483.3 MB, free: 2.715 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches