Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002344/0.002344, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.18 MB / 345.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 8 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 63.57 MB / 483.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002316/0.1334, allocations: 1.403 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1353, allocations: 0.9629 MB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1354, allocations: 4 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1358, allocations: 71.8 kB / 485.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1362, allocations: 83.72 kB / 485.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1365, allocations: 67.86 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1367, allocations: 95.64 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.1368, allocations: 12.2 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1369, allocations: 39.8 kB / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1371, allocations: 43.83 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1371, allocations: 0 / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1373, allocations: 43.92 kB / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.1373, allocations: 15.92 kB / 485.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.1374, allocations: 57.44 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1376, allocations: 103.9 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1376, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1377, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1377, allocations: 4 kB / 486.1 MB, free: 1.074 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.0006369/0.1383, allocations: 386.6 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1384, allocations: 12.88 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.1384, allocations: 16.75 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1387, allocations: 212.7 kB / 486.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1388, allocations: 4.312 kB / 486.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1388, allocations: 4.125 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.139, allocations: 53.67 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.139, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.139, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.139, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.1391, allocations: 19.92 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.1394, allocations: 185.7 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1395, allocations: 54.55 kB / 487 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.1396, allocations: 20.88 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1397, allocations: 3.984 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1398, allocations: 67.39 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.552e-06/0.1399, allocations: 0 / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000302/0.1402, allocations: 105.4 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1402, allocations: 51.41 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1404, allocations: 190.9 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1404, allocations: 29.7 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.1405, allocations: 96.14 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.1406, allocations: 15.89 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1406, allocations: 9.719 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1407, allocations: 326.8 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1408, allocations: 12 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.1409, allocations: 29.7 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.141, allocations: 53.89 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.141, allocations: 0 / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.1412, allocations: 85.47 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1412, allocations: 8 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1412, allocations: 0 / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1412, allocations: 0 / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.1413, allocations: 15.92 kB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1413, allocations: 4 kB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1414, allocations: 0 / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1414, allocations: 4 kB / 488.1 MB, free: 14.8 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.0001038/0.1415, allocations: 128.6 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.1415, allocations: 15.91 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1416, allocations: 9 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1416, allocations: 7.938 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1416, allocations: 0 / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1416, allocations: 0 / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1418, allocations: 201.3 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1418, allocations: 0 / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.1418, allocations: 4 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1418, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1418, allocations: 4 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1418, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1418, allocations: 7.984 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.142, allocations: 104.9 kB / 488.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.1421, allocations: 93 kB / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1421, allocations: 7.938 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1422, allocations: 128 / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1422, allocations: 11.98 kB / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1422, allocations: 0 / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1424, allocations: 156.7 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1424, allocations: 0 / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1426, allocations: 24 kB / 488.9 MB, free: 13.96 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.001042/0.1437, allocations: 399.8 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1439, allocations: 35.92 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.1439, allocations: 4 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.1439, allocations: 19.98 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1442, allocations: 35.97 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.1447, allocations: 221.4 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.145, allocations: 0.7043 MB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.1451, allocations: 24.39 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.1451, allocations: 15.44 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1451, allocations: 3.938 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004404/0.1495, allocations: 1.413 MB / 491.7 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches