Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001575, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.56 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1278, allocations: 62.44 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003264/0.1311, allocations: 1.732 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1329, allocations: 1.02 MB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.133, allocations: 3.938 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1333, allocations: 79.7 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1336, allocations: 123.5 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1338, allocations: 79.61 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.134, allocations: 111.7 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1341, allocations: 8 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.1342, allocations: 51.77 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.1343, allocations: 59.77 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1343, allocations: 11.94 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.1344, allocations: 47.97 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.1345, allocations: 19.92 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.1346, allocations: 39.73 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1349, allocations: 123.8 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1349, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1349, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1349, allocations: 0 / 483.5 MB, free: 1.758 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.0005789/0.1355, allocations: 418.9 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1355, allocations: 12.03 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1356, allocations: 20.69 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1358, allocations: 216 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1358, allocations: 384 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1359, allocations: 16.02 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.136, allocations: 53.67 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.136, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.136, allocations: 3.984 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.136, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1361, allocations: 19.98 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.1366, allocations: 296.8 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1367, allocations: 54.67 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.1368, allocations: 20.86 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1368, allocations: 0 / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.137, allocations: 83.25 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.137, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.1376, allocations: 177.1 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1376, allocations: 55.34 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1378, allocations: 224.3 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1379, allocations: 25.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.1379, allocations: 112.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.138, allocations: 23.64 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.138, allocations: 21.72 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1381, allocations: 330.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.1382, allocations: 23.98 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.1383, allocations: 33.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1384, allocations: 61.66 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1384, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1386, allocations: 105.5 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1386, allocations: 8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1386, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1386, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.1387, allocations: 19.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1387, allocations: 4.156 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1388, allocations: 3.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1388, allocations: 11.97 kB / 485.9 MB, free: 15.11 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.0001025/0.1389, allocations: 129.8 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1389, allocations: 7.906 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.139, allocations: 21.39 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.139, allocations: 3.984 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.139, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.139, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.1395, allocations: 403.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1395, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.1395, allocations: 11.98 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1395, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1395, allocations: 4.312 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1395, allocations: 7.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1396, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1398, allocations: 208.3 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.1398, allocations: 89.11 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1399, allocations: 7.922 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1399, allocations: 7.938 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.14, allocations: 8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.14, allocations: 7.984 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.1402, allocations: 161.2 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1402, allocations: 4 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1405, allocations: 24 kB / 487 MB, free: 13.91 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.001008/0.1415, allocations: 461.2 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1418, allocations: 59.92 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1418, allocations: 4.062 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.1419, allocations: 27.98 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1422, allocations: 31.97 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.1427, allocations: 251.5 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.143, allocations: 0.7118 MB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.143, allocations: 17.17 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1431, allocations: 19.44 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1431, allocations: 4 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.004448/0.1475, allocations: 1.735 MB / 490.3 MB, free: 10.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches