Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001419, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.12 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 94.23 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 62.44 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003444/0.1249, allocations: 1.731 MB / 482.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1267, allocations: 1.021 MB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1268, allocations: 7.938 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.1271, allocations: 35.83 kB / 483.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1274, allocations: 99.53 kB / 483.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1276, allocations: 79.66 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1278, allocations: 103.7 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1279, allocations: 8 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.128, allocations: 43.78 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.1281, allocations: 39.78 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1282, allocations: 4 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.1283, allocations: 43.92 kB / 484 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.1283, allocations: 27.91 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1284, allocations: 31.75 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1286, allocations: 115.9 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1286, allocations: 0 / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1286, allocations: 0 / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1286, allocations: 0 / 484.1 MB, free: 1.848 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.0006438/0.1293, allocations: 418.9 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1293, allocations: 8.031 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.1294, allocations: 12.78 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1297, allocations: 220.7 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1297, allocations: 4.375 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1297, allocations: 4.125 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1299, allocations: 53.67 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1299, allocations: 4 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1299, allocations: 0 / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1299, allocations: 0 / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.13, allocations: 23.98 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1304, allocations: 292.8 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1306, allocations: 54.62 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.1307, allocations: 20.84 kB / 485.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1307, allocations: 4 kB / 485.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.1309, allocations: 67.39 kB / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1309, allocations: 0 / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.1315, allocations: 173.5 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1316, allocations: 51.41 kB / 485.5 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1318, allocations: 194.4 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1318, allocations: 29.7 kB / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.1319, allocations: 112 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1319, allocations: 19.72 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.132, allocations: 25.7 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1322, allocations: 330.8 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.1322, allocations: 16 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.1323, allocations: 33.83 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1324, allocations: 69.69 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1325, allocations: 4 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.1327, allocations: 101.4 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1327, allocations: 6.5 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1327, allocations: 4 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1327, allocations: 0 / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1328, allocations: 19.94 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1328, allocations: 0 / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1329, allocations: 15.95 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1329, allocations: 4 kB / 486.5 MB, free: 15.27 MB / 366.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.0001184/0.133, allocations: 125.8 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1331, allocations: 8.094 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.1331, allocations: 25.33 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1331, allocations: 3.938 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1332, allocations: 0 / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1332, allocations: 3.938 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1337, allocations: 407.4 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1337, allocations: 0 / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1337, allocations: 8 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1337, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1337, allocations: 7.938 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1338, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1338, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.134, allocations: 204.3 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1341, allocations: 92.91 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1341, allocations: 3.938 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.1342, allocations: 8 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1342, allocations: 7.984 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1343, allocations: 4 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1344, allocations: 148.2 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1347, allocations: 28 kB / 487.6 MB, free: 14.09 MB / 366.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.001671/0.1364, allocations: 455.7 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1366, allocations: 67.89 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1366, allocations: 0 / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.1367, allocations: 35.92 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1371, allocations: 29.42 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1376, allocations: 264.8 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.138, allocations: 0.7002 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.138, allocations: 15.44 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1381, allocations: 0 / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004078/0.1421, allocations: 1.959 MB / 491.1 MB, free: 10.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches