Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001566/0.001566, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.355/1.355, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2109/0.2109, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.36 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 60.84 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003519/0.1339, allocations: 1.688 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1354, allocations: 0.8768 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.1355, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1357, allocations: 47.75 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.136, allocations: 55.77 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1363, allocations: 115.4 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1365, allocations: 99.69 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1367, allocations: 8.219 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.1368, allocations: 39.8 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1369, allocations: 35.83 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1369, allocations: 4 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.137, allocations: 36 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1371, allocations: 23.92 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.1372, allocations: 43.66 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1374, allocations: 115.9 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1374, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1374, allocations: 4 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1374, allocations: 0 / 473.1 MB, free: 11.17 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.0005769/0.138, allocations: 410.9 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1381, allocations: 11.97 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.1381, allocations: 20.84 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1384, allocations: 202.7 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1384, allocations: 12.31 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1384, allocations: 4.125 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1386, allocations: 57.61 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1386, allocations: 4 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1386, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1386, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1387, allocations: 19.98 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1391, allocations: 288.8 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1393, allocations: 62.61 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1394, allocations: 16.86 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1394, allocations: 3.984 kB / 474.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.1397, allocations: 71.39 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1397, allocations: 0 / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006232/0.1404, allocations: 173.1 kB / 474.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1404, allocations: 51.41 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1406, allocations: 203.3 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1406, allocations: 25.7 kB / 474.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.1407, allocations: 104.1 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1407, allocations: 27.7 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1408, allocations: 21.72 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1409, allocations: 326.8 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.141, allocations: 27.92 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.1411, allocations: 33.7 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1412, allocations: 57.78 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1412, allocations: 4 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.1414, allocations: 105.5 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1414, allocations: 4 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1414, allocations: 0 / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1414, allocations: 4 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.1415, allocations: 15.98 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1415, allocations: 0 / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1416, allocations: 12.25 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1416, allocations: 4 kB / 475.5 MB, free: 8.594 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.0001017/0.1417, allocations: 133.8 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1417, allocations: 11.81 kB / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.1418, allocations: 21.41 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1418, allocations: 192 / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1418, allocations: 0 / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1418, allocations: 11.86 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1423, allocations: 395.3 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1423, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1424, allocations: 8 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1424, allocations: 3.984 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1424, allocations: 11.94 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1424, allocations: 0 / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1424, allocations: 0 / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1427, allocations: 208.2 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1427, allocations: 85.02 kB / 476.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1428, allocations: 7.938 kB / 476.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1428, allocations: 4 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1429, allocations: 7.984 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1429, allocations: 4 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.143, allocations: 147.9 kB / 476.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.143, allocations: 0 / 476.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1433, allocations: 28 kB / 476.5 MB, free: 7.422 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.001131/0.1444, allocations: 462.9 kB / 477 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1447, allocations: 63.89 kB / 477 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1447, allocations: 64 / 477 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1448, allocations: 35.92 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1452, allocations: 27.98 kB / 477.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.1457, allocations: 268.8 kB / 477.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.146, allocations: 0.7041 MB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.146, allocations: 19.42 kB / 478.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.146, allocations: 0 / 478.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004127/0.1502, allocations: 1.922 MB / 480 MB, free: 4.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches