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.0007915/0.0007915, allocations: 95.77 kB / 18.01 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009445/0.0009448, allocations: 202.6 kB / 18.94 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.0002959, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 63.57 MB / 483.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002078/0.1315, allocations: 1.396 MB / 485.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1331, allocations: 0.973 MB / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1332, allocations: 11.88 kB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1335, allocations: 51.88 kB / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1338, allocations: 83.73 kB / 486.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.134, allocations: 63.81 kB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1341, allocations: 99.69 kB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1342, allocations: 4.234 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.1343, allocations: 47.77 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.1344, allocations: 35.73 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1344, allocations: 4 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.1345, allocations: 23.98 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1346, allocations: 27.91 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1347, allocations: 65.38 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1348, allocations: 92.09 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1348, allocations: 4 kB / 486.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1348, allocations: 0 / 486.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1348, allocations: 0 / 486.7 MB, free: 1.148 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.0005104/0.1354, allocations: 418.8 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1354, allocations: 12.88 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1355, allocations: 12.75 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1357, allocations: 220.9 kB / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1357, allocations: 384 / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1357, allocations: 12.12 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1359, allocations: 49.67 kB / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1359, allocations: 0 / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1359, allocations: 0 / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1359, allocations: 0 / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/0.136, allocations: 19.92 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.1362, allocations: 189.7 kB / 487.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1364, allocations: 58.61 kB / 487.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.1364, allocations: 21.05 kB / 487.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1365, allocations: 3.938 kB / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1367, allocations: 67.39 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.955e-06/0.1367, allocations: 0 / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002765/0.137, allocations: 97.42 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.137, allocations: 59.41 kB / 487.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.1373, allocations: 267 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1373, allocations: 29.7 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1374, allocations: 112.1 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1374, allocations: 11.81 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1374, allocations: 13.72 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1376, allocations: 330.8 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.1376, allocations: 12 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.1377, allocations: 41.62 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.1378, allocations: 45.64 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1378, allocations: 0 / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.138, allocations: 89.38 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.138, allocations: 7.938 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.138, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.138, allocations: 4 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.1381, allocations: 12.03 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1381, allocations: 320 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1382, allocations: 11.92 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1382, allocations: 8 kB / 488.9 MB, free: 14.71 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.0001001/0.1383, allocations: 129.8 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1383, allocations: 19.75 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1384, allocations: 20.98 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1384, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1384, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1384, allocations: 4 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1385, allocations: 197.6 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1386, allocations: 4 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.1386, allocations: 3.938 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1386, allocations: 4 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1386, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1386, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1386, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1388, allocations: 120.9 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1389, allocations: 92.91 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1389, allocations: 4 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.1389, allocations: 0 / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.139, allocations: 4 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.139, allocations: 7.984 kB / 489.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1392, allocations: 200.4 kB / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1394, allocations: 24 kB / 489.7 MB, free: 13.8 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.0009289/0.1403, allocations: 407.9 kB / 490.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1405, allocations: 43.91 kB / 490.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1405, allocations: 0 / 490.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.1406, allocations: 16 kB / 490.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1409, allocations: 43.53 kB / 490.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1414, allocations: 315.5 kB / 490.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1417, allocations: 0.7238 MB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1417, allocations: 11.44 kB / 491.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1417, allocations: 0 / 491.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004039/0.1458, allocations: 1.851 MB / 493.1 MB, free: 10.48 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 -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