Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001311/0.00131, allocations: 194 kB / 18.77 MB, free: 4.742 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2097/0.2097, allocations: 44.18 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 69.08 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003204/0.1274, allocations: 1.718 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1288, allocations: 0.8497 MB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.1289, allocations: 0 / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1292, allocations: 59.84 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1294, allocations: 63.75 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1297, allocations: 83.83 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1299, allocations: 95.7 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1299, allocations: 11.97 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.13, allocations: 35.84 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.1301, allocations: 47.72 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1302, allocations: 4 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.1302, allocations: 31.97 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1303, allocations: 15.98 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1304, allocations: 31.75 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1305, allocations: 68.11 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1305, allocations: 8 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1305, allocations: 0 / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1305, allocations: 0 / 472.3 MB, free: 11.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005226/0.1311, allocations: 409.4 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1311, allocations: 12.03 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1312, allocations: 12.78 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1314, allocations: 196.2 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1314, allocations: 4.375 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1315, allocations: 8.125 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1316, allocations: 49.67 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1316, allocations: 0 / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1316, allocations: 0 / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1316, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.1317, allocations: 15.98 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1319, allocations: 185.5 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1321, allocations: 50.56 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.1322, allocations: 28.78 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1322, allocations: 0 / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1324, allocations: 67.39 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1324, allocations: 0 / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002831/0.1327, allocations: 93.52 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1327, allocations: 55.41 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1329, allocations: 198.1 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.133, allocations: 25.7 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.133, allocations: 100.1 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1331, allocations: 23.73 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1331, allocations: 17.72 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1332, allocations: 322.8 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.1333, allocations: 15.98 kB / 474.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.1334, allocations: 25.72 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1335, allocations: 49.89 kB / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1335, allocations: 4 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001539/0.1336, allocations: 77.53 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1337, allocations: 4 kB / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1337, allocations: 0 / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.1337, allocations: 11.92 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.1338, allocations: 15.97 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1338, allocations: 0 / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1338, allocations: 8 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1339, allocations: 0 / 474.3 MB, free: 9.441 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 (7): * Single equations (assignments): 7 * 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.474e-05/0.134, allocations: 125.8 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.134, allocations: 11.91 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.134, allocations: 12.31 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.134, allocations: 3.984 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.134, allocations: 0 / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1341, allocations: 7.984 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1342, allocations: 189.5 kB / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1342, allocations: 0 / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.1342, allocations: 4 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1342, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1342, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1343, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1343, allocations: 3.938 kB / 474.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1344, allocations: 109 kB / 474.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1345, allocations: 92.95 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1345, allocations: 3.984 kB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.1346, allocations: 4.125 kB / 474.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1346, allocations: 4 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1346, allocations: 4 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1348, allocations: 139.2 kB / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.135, allocations: 16 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009439/0.1359, allocations: 414.4 kB / 475.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1361, allocations: 47.91 kB / 475.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1361, allocations: 0 / 475.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.1362, allocations: 16 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1365, allocations: 29.73 kB / 475.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1369, allocations: 249.6 kB / 475.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1372, allocations: 0.7004 MB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.1372, allocations: 11.44 kB / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1372, allocations: 0 / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of Templates: time 0.003365/0.1406, allocations: 1.675 MB / 478.2 MB, free: 5.594 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches