Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008636/0.0008636, allocations: 92.34 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.001037/0.001037, allocations: 201.1 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.402/1.402, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.2 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 15.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002339/0.1356, allocations: 1.435 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1374, allocations: 1.006 MB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.1375, allocations: 0 / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1379, allocations: 51.81 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1382, allocations: 87.72 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1384, allocations: 67.86 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1386, allocations: 99.64 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1388, allocations: 11.98 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1389, allocations: 39.78 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.139, allocations: 39.78 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.139, allocations: 0 / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1392, allocations: 43.98 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1392, allocations: 31.84 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.1393, allocations: 69.38 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1395, allocations: 127.8 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1396, allocations: 4 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1396, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1396, allocations: 0 / 486.2 MB, free: 1.016 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.0006401/0.1402, allocations: 418.9 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1403, allocations: 12.88 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1403, allocations: 16.75 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1406, allocations: 224.9 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1406, allocations: 4.359 kB / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1406, allocations: 12.06 kB / 486.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1408, allocations: 53.67 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1408, allocations: 4 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1408, allocations: 0 / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1408, allocations: 4 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.1409, allocations: 15.98 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1413, allocations: 304.8 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1415, allocations: 58.62 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1416, allocations: 20.84 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1416, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1418, allocations: 71.39 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.1418, allocations: 0 / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1424, allocations: 189 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1425, allocations: 51.41 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1428, allocations: 267 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1428, allocations: 29.7 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.1429, allocations: 116 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.143, allocations: 27.73 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.143, allocations: 17.72 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1432, allocations: 326.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1432, allocations: 23.98 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.1433, allocations: 33.7 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1434, allocations: 65.77 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1435, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.1437, allocations: 109.3 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1437, allocations: 6.344 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1437, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1437, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.1438, allocations: 19.98 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1438, allocations: 3.938 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.1439, allocations: 11.88 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1439, allocations: 4 kB / 488.7 MB, free: 14.3 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.0001123/0.1441, allocations: 144.7 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1441, allocations: 15.81 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1441, allocations: 21.39 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1442, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1442, allocations: 192 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1442, allocations: 3.938 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1447, allocations: 407.3 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1447, allocations: 4.031 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.1447, allocations: 11.98 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1447, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1447, allocations: 4.312 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1447, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1448, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.145, allocations: 212.1 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1451, allocations: 92.91 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1451, allocations: 11.94 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1452, allocations: 3.938 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1452, allocations: 7.984 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1453, allocations: 4 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1455, allocations: 208.4 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1455, allocations: 0 / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1457, allocations: 23.98 kB / 489.8 MB, free: 13.04 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.00117/0.1469, allocations: 454.2 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1471, allocations: 51.92 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1471, allocations: 4.062 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.1472, allocations: 36.08 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1476, allocations: 32.11 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.1482, allocations: 319 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1485, allocations: 0.7238 MB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1486, allocations: 8.891 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.1487, allocations: 23.42 kB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1487, allocations: 0 / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004906/0.1536, allocations: 1.669 MB / 493.1 MB, free: 9.852 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches