Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 114.7 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.001164/0.001164, allocations: 200.6 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.375/1.375, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003732/0.1302, allocations: 1.718 MB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1321, allocations: 1.021 MB / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.1322, allocations: 4 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1325, allocations: 51.75 kB / 484.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1328, allocations: 87.61 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.133, allocations: 75.67 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1332, allocations: 103.7 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1333, allocations: 16 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.1334, allocations: 43.77 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.1335, allocations: 35.73 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1335, allocations: 4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1336, allocations: 47.97 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.1337, allocations: 19.92 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.1338, allocations: 35.73 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.134, allocations: 119.6 kB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.134, allocations: 0 / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.134, allocations: 0 / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.134, allocations: 0 / 484.8 MB, free: 1.141 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.000551/0.1346, allocations: 434.8 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1346, allocations: 8.031 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1347, allocations: 12.84 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.135, allocations: 220 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.135, allocations: 4.375 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1351, allocations: 8.125 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1352, allocations: 53.67 kB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1353, allocations: 4 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1353, allocations: 0 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1353, allocations: 0 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.1354, allocations: 23.92 kB / 485.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1358, allocations: 288.9 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.136, allocations: 50.69 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.1361, allocations: 28.84 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1361, allocations: 0 / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1363, allocations: 67.33 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1363, allocations: 0 / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006007/0.1369, allocations: 185 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.137, allocations: 55.41 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1372, allocations: 206.4 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1372, allocations: 25.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.1373, allocations: 104.1 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1373, allocations: 23.7 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1374, allocations: 25.66 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1375, allocations: 326.8 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.1376, allocations: 23.98 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.1377, allocations: 37.7 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1378, allocations: 65.7 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1378, allocations: 0 / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.138, allocations: 105.4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.138, allocations: 4 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.138, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1381, allocations: 7.984 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.1382, allocations: 15.98 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1382, allocations: 4.031 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1382, allocations: 11.94 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1383, allocations: 4.562 kB / 487.2 MB, free: 14.52 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.51e-05/0.1384, allocations: 125.8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1384, allocations: 19.84 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.1384, allocations: 17.39 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1384, allocations: 0 / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1385, allocations: 4 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1385, allocations: 7.938 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1389, allocations: 391.2 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1389, allocations: 4 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.139, allocations: 15.92 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.139, allocations: 0 / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.139, allocations: 3.938 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.139, allocations: 0 / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.139, allocations: 4 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1393, allocations: 204.3 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.1393, allocations: 88.92 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1394, allocations: 3.938 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.1394, allocations: 11.98 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1395, allocations: 0 / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1395, allocations: 7.938 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1397, allocations: 172.7 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1397, allocations: 0 / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.14, allocations: 24 kB / 488.3 MB, free: 13.33 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.001055/0.141, allocations: 450.8 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1412, allocations: 59.89 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1412, allocations: 0 / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.1413, allocations: 31.98 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1417, allocations: 30.92 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1422, allocations: 238.9 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1425, allocations: 0.7042 MB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.1426, allocations: 16.88 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1426, allocations: 19.44 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1426, allocations: 0 / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004546/0.1472, allocations: 1.732 MB / 491.6 MB, free: 10.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches