Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 72.91 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1328, allocations: 62.46 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003637/0.1365, allocations: 1.716 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1383, allocations: 1.017 MB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1385, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.139, allocations: 59.73 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.1395, allocations: 103.5 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1399, allocations: 75.66 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.1401, allocations: 103.7 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1404, allocations: 19.98 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1405, allocations: 47.77 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1407, allocations: 27.8 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1407, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1409, allocations: 39.98 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.141, allocations: 35.84 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.1411, allocations: 39.69 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1415, allocations: 139.8 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1415, allocations: 0 / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1415, allocations: 0 / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1415, allocations: 0 / 483.4 MB, free: 1.828 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.0007407/0.1422, allocations: 450.7 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.1423, allocations: 8.031 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1424, allocations: 12.84 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1427, allocations: 220.9 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1427, allocations: 12.25 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1428, allocations: 8.125 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.143, allocations: 53.67 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.143, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.143, allocations: 8 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.143, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.96e-05/0.1431, allocations: 19.98 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1436, allocations: 296.9 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1438, allocations: 58.61 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.1438, allocations: 24.86 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1439, allocations: 0 / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.1441, allocations: 63.39 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1441, allocations: 3.938 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005958/0.1447, allocations: 188.9 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1448, allocations: 55.41 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1451, allocations: 275 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1451, allocations: 25.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.1452, allocations: 116.1 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1452, allocations: 19.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1453, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1454, allocations: 330.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.1455, allocations: 23.92 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.1456, allocations: 37.7 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1457, allocations: 57.78 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1457, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.1459, allocations: 109.4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1459, allocations: 8 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1459, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.146, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.1461, allocations: 15.98 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1461, allocations: 8.031 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.1461, allocations: 11.88 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.1461, allocations: 4 kB / 485.9 MB, free: 15.09 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 0.0001173/0.1463, allocations: 137.8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1463, allocations: 15.81 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1464, allocations: 17.39 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1464, allocations: 4.188 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1464, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1464, allocations: 7.875 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.1469, allocations: 407.7 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1469, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1469, allocations: 12 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1469, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1469, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.147, allocations: 3.984 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.147, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1472, allocations: 216.2 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.1473, allocations: 88.92 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1473, allocations: 11.88 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1474, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1474, allocations: 7.984 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1474, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1476, allocations: 212.4 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1476, allocations: 0 / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1479, allocations: 24 kB / 487.1 MB, free: 13.83 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.001187/0.1491, allocations: 453.1 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1493, allocations: 63.91 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1493, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.1494, allocations: 28.08 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1498, allocations: 32.12 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.1504, allocations: 299.7 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1507, allocations: 0.7196 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.1508, allocations: 16.81 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.1509, allocations: 23.42 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1509, allocations: 0 / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004868/0.1557, allocations: 1.756 MB / 490.5 MB, free: 10.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches