Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.00175, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00233/0.00233, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.029/2.029, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3365/0.3365, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 75.84 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004227/0.1418, allocations: 1.799 MB / 481.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1438, allocations: 1.025 MB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.144, allocations: 3.938 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.1444, allocations: 95.8 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1449, allocations: 115.7 kB / 483 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1452, allocations: 67.81 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1455, allocations: 119.7 kB / 483.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1456, allocations: 12 kB / 483.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1457, allocations: 51.72 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1459, allocations: 75.67 kB / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1459, allocations: 4 kB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1461, allocations: 55.97 kB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.1462, allocations: 27.86 kB / 483.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.1463, allocations: 43.67 kB / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1465, allocations: 108.1 kB / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1465, allocations: 0 / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1465, allocations: 0 / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1465, allocations: 0 / 483.5 MB, free: 2.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007127/0.1473, allocations: 454.8 kB / 484 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1473, allocations: 12.81 kB / 484 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.1474, allocations: 16.75 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1477, allocations: 211.9 kB / 484.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1477, allocations: 8.375 kB / 484.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1477, allocations: 4.125 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1479, allocations: 61.66 kB / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.148, allocations: 0 / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.148, allocations: 0 / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.148, allocations: 7.938 kB / 484.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.1481, allocations: 27.97 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1486, allocations: 304.7 kB / 484.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1489, allocations: 62.55 kB / 484.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.149, allocations: 20.92 kB / 484.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1491, allocations: 4 kB / 484.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1493, allocations: 71.38 kB / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.1494, allocations: 0 / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008859/0.1502, allocations: 249.5 kB / 485 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1503, allocations: 59.34 kB / 485.1 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1506, allocations: 247.2 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1506, allocations: 37.7 kB / 485.4 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.1507, allocations: 112.1 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1508, allocations: 35.48 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1508, allocations: 29.72 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.151, allocations: 326.8 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.151, allocations: 31.98 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.1511, allocations: 49.64 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1513, allocations: 81.75 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1513, allocations: 0 / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002501/0.1516, allocations: 125.4 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1516, allocations: 7.984 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1516, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1516, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.1517, allocations: 31.88 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1518, allocations: 3.938 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.1518, allocations: 12.02 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1518, allocations: 3.984 kB / 486.2 MB, free: 15.21 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 (13): * Single equations (assignments): 13 * 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.0001353/0.152, allocations: 137.8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.152, allocations: 15.81 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.1521, allocations: 21.41 kB / 486.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1521, allocations: 0 / 486.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1521, allocations: 3.938 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1521, allocations: 3.984 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.1527, allocations: 467.9 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1527, allocations: 0 / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.1528, allocations: 12 kB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1528, allocations: 0 / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1528, allocations: 4 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1528, allocations: 3.984 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1528, allocations: 0 / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1532, allocations: 244.9 kB / 487.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1532, allocations: 88.92 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1533, allocations: 3.984 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1533, allocations: 8 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1534, allocations: 11.98 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1534, allocations: 8 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1536, allocations: 188.2 kB / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1536, allocations: 4 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1539, allocations: 32 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001314/0.1552, allocations: 0.4924 MB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1555, allocations: 83.84 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1555, allocations: 4.062 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1556, allocations: 43.92 kB / 488 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.156, allocations: 27.92 kB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.1567, allocations: 360.3 kB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.157, allocations: 0.7199 MB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.1571, allocations: 19.44 kB / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1571, allocations: 4 kB / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005108/0.1622, allocations: 2.29 MB / 491.5 MB, free: 9.949 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches