Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 76.44 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 62.44 MB / 481.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003234/0.1358, allocations: 1.738 MB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1375, allocations: 1.017 MB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.1375, allocations: 0 / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1378, allocations: 55.75 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1382, allocations: 95.55 kB / 484.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1383, allocations: 75.72 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1385, allocations: 107.6 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1386, allocations: 15.98 kB / 484.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.1387, allocations: 43.78 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.1388, allocations: 31.8 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1388, allocations: 4 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1389, allocations: 51.97 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.139, allocations: 19.92 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.1391, allocations: 31.75 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1393, allocations: 131.5 kB / 484.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1393, allocations: 4 kB / 484.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1393, allocations: 0 / 484.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1393, allocations: 4 kB / 484.9 MB, free: 1.137 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.0005672/0.1399, allocations: 430.8 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1399, allocations: 8.031 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.14, allocations: 12.84 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1403, allocations: 217.6 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1403, allocations: 8.375 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1403, allocations: 4.125 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1405, allocations: 61.61 kB / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1405, allocations: 0 / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1405, allocations: 4 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1405, allocations: 0 / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.1406, allocations: 19.97 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.141, allocations: 304.8 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1412, allocations: 62.61 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.1413, allocations: 20.86 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1413, allocations: 0 / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.1414, allocations: 67.3 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1415, allocations: 0 / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005735/0.142, allocations: 177.1 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1421, allocations: 59.34 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1423, allocations: 239 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1424, allocations: 25.7 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.1425, allocations: 108.1 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1425, allocations: 27.64 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1425, allocations: 21.72 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1427, allocations: 326.8 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.1428, allocations: 23.98 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.1428, allocations: 45.58 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.143, allocations: 61.7 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.143, allocations: 0 / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1432, allocations: 97.52 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1432, allocations: 8 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1432, allocations: 160 / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1432, allocations: 0 / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.1433, allocations: 20.02 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1433, allocations: 7.984 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1434, allocations: 11.84 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1434, allocations: 4 kB / 487.3 MB, free: 14.46 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 9.886e-05/0.1435, allocations: 133.8 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1435, allocations: 12.28 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1436, allocations: 17.39 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1436, allocations: 4 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1436, allocations: 4 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1436, allocations: 7.938 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.144, allocations: 399.2 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1441, allocations: 0 / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.1441, allocations: 8 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1441, allocations: 4 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1441, allocations: 7.938 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1441, allocations: 0 / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1441, allocations: 0 / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1444, allocations: 204.3 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1444, allocations: 92.86 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1445, allocations: 7.938 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.1445, allocations: 4 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1446, allocations: 4.172 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1446, allocations: 4 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1447, allocations: 188.3 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 0 / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.145, allocations: 24 kB / 488.4 MB, free: 13.25 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.001041/0.1461, allocations: 447 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1462, allocations: 59.91 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1463, allocations: 3.938 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.1463, allocations: 31.98 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1467, allocations: 26.22 kB / 489 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.1471, allocations: 275.8 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1474, allocations: 0.7119 MB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.1475, allocations: 20.84 kB / 490 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1475, allocations: 15.44 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1475, allocations: 4 kB / 490 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.004337/0.1519, allocations: 1.734 MB / 491.7 MB, free: 10.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches