Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007889/0.0007888, allocations: 94.2 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000997/0.0009971, allocations: 206 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002842, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 63.56 MB / 483.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002374/0.1309, allocations: 1.411 MB / 485.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1325, allocations: 0.9668 MB / 486.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.1327, allocations: 0 / 486.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.133, allocations: 63.81 kB / 486.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1333, allocations: 83.73 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1335, allocations: 55.88 kB / 486.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1337, allocations: 103.6 kB / 486.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1338, allocations: 4.234 kB / 486.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1339, allocations: 51.77 kB / 486.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.134, allocations: 27.86 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.134, allocations: 0 / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1341, allocations: 31.92 kB / 486.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1342, allocations: 31.84 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.1343, allocations: 65.38 kB / 486.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1345, allocations: 88.09 kB / 486.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1345, allocations: 4 kB / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1345, allocations: 4 kB / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1345, allocations: 3.938 kB / 486.7 MB, free: 1.094 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.0006044/0.1351, allocations: 411 kB / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1352, allocations: 8.875 kB / 487.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1352, allocations: 16.75 kB / 487.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1355, allocations: 220.8 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1355, allocations: 4.375 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1355, allocations: 4.125 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1357, allocations: 53.67 kB / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1357, allocations: 4 kB / 487.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1357, allocations: 7.938 kB / 487.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1357, allocations: 0 / 487.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.1358, allocations: 15.98 kB / 487.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.1361, allocations: 189.7 kB / 487.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1362, allocations: 58.55 kB / 487.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1363, allocations: 28.78 kB / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1363, allocations: 0 / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.1365, allocations: 63.39 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1365, allocations: 0 / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000301/0.1368, allocations: 101.4 kB / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1369, allocations: 51.41 kB / 487.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1372, allocations: 271 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1372, allocations: 33.7 kB / 488.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.1373, allocations: 112.1 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1373, allocations: 11.81 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1374, allocations: 13.72 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1375, allocations: 330.8 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.1376, allocations: 12 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.1376, allocations: 25.7 kB / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1378, allocations: 53.64 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1378, allocations: 0 / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.138, allocations: 85.44 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.138, allocations: 4 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.138, allocations: 0 / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.138, allocations: 0 / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.1381, allocations: 15.94 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1381, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1382, allocations: 15.95 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1382, allocations: 4 kB / 488.9 MB, free: 14.67 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.0001266/0.1383, allocations: 136.3 kB / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1383, allocations: 11.81 kB / 489 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1384, allocations: 20.98 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1384, allocations: 0 / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1384, allocations: 7.938 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1384, allocations: 0 / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1386, allocations: 197.6 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1386, allocations: 8.25 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.1386, allocations: 8 kB / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1386, allocations: 0 / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1387, allocations: 0 / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1387, allocations: 4 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1387, allocations: 0 / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1389, allocations: 116.8 kB / 489.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1389, allocations: 92.91 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.139, allocations: 12 kB / 489.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.139, allocations: 0 / 489.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1391, allocations: 7.984 kB / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1391, allocations: 0 / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1393, allocations: 204.4 kB / 489.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1393, allocations: 0 / 489.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.1395, allocations: 20 kB / 489.7 MB, free: 13.75 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.0009724/0.1405, allocations: 404.4 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1407, allocations: 47.92 kB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1407, allocations: 0 / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.1407, allocations: 19.94 kB / 490.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.141, allocations: 34.09 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.1415, allocations: 315.5 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1419, allocations: 0.7199 MB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.1419, allocations: 15.44 kB / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1419, allocations: 0 / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.004154/0.1461, allocations: 1.854 MB / 493.1 MB, free: 10.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches