Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003684/0.13, allocations: 1.691 MB / 483.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1316, allocations: 1.005 MB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.1317, allocations: 0 / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1321, allocations: 55.75 kB / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1324, allocations: 95.59 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1326, allocations: 75.67 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1328, allocations: 99.69 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1329, allocations: 8.234 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.133, allocations: 47.77 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.1331, allocations: 23.86 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1331, allocations: 4 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.1332, allocations: 31.98 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.1333, allocations: 35.78 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.1333, allocations: 35.69 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1336, allocations: 123.6 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1336, allocations: 0 / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1336, allocations: 4 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1336, allocations: 0 / 484.8 MB, free: 1.199 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.0006091/0.1342, allocations: 434.8 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1342, allocations: 12.03 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1343, allocations: 12.75 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1346, allocations: 228.8 kB / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1346, allocations: 384 / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1346, allocations: 12.11 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1348, allocations: 53.67 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1348, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1348, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1348, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.1349, allocations: 11.98 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.1351, allocations: 193.7 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1353, allocations: 58.55 kB / 485.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1353, allocations: 28.78 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1354, allocations: 0 / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1356, allocations: 63.39 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1356, allocations: 3.938 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002743/0.1358, allocations: 101.4 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1359, allocations: 55.41 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1361, allocations: 267 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1362, allocations: 29.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.1362, allocations: 112.1 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1363, allocations: 11.89 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1363, allocations: 17.72 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1364, allocations: 330.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.1365, allocations: 15.98 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.1365, allocations: 25.72 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.1366, allocations: 49.64 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1366, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/0.1368, allocations: 85.44 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1368, allocations: 7.984 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1368, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1368, allocations: 4 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.1369, allocations: 15.94 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1369, allocations: 4.031 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.137, allocations: 11.84 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.137, allocations: 0 / 487 MB, free: 14.75 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 (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 0.0001032/0.1371, allocations: 137.8 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1371, allocations: 15.89 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1372, allocations: 13 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1372, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1372, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1372, allocations: 320 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1374, allocations: 205.5 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1374, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.1374, allocations: 11.98 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1374, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1374, allocations: 4 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1374, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1374, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1376, allocations: 108.9 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1377, allocations: 92.92 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1377, allocations: 11.94 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.1378, allocations: 0 / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1378, allocations: 7.969 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1378, allocations: 4 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.138, allocations: 204.4 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.138, allocations: 0 / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1382, allocations: 19.98 kB / 487.8 MB, free: 13.83 MB / 366.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.0008689/0.1391, allocations: 402.2 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1392, allocations: 43.92 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1392, allocations: 0 / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.1393, allocations: 19.98 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1396, allocations: 32.83 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.14, allocations: 266.4 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1403, allocations: 0.7206 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.424e-05/0.1403, allocations: 16.53 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1404, allocations: 11.44 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1404, allocations: 0 / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004113/0.1445, allocations: 1.53 MB / 490.8 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches