Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.3 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.1 MB / 343.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 86.28 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1311, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003244/0.1344, allocations: 1.781 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1362, allocations: 1.021 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1363, allocations: 0 / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1366, allocations: 43.83 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1369, allocations: 71.75 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1371, allocations: 63.88 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1373, allocations: 103.6 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1374, allocations: 11.98 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.1375, allocations: 43.78 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.1376, allocations: 31.78 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1376, allocations: 4 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1377, allocations: 43.98 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1378, allocations: 23.86 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1378, allocations: 23.81 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.138, allocations: 115.9 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1381, allocations: 3.984 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1381, allocations: 0 / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1381, allocations: 0 / 482.7 MB, free: 2.336 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.000528/0.1386, allocations: 411 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1387, allocations: 12.88 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1387, allocations: 16.75 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1389, allocations: 208 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.139, allocations: 384 / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.139, allocations: 12.12 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1391, allocations: 53.66 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1392, allocations: 0 / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1392, allocations: 4 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1392, allocations: 0 / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.1393, allocations: 19.98 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.1396, allocations: 284.9 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1398, allocations: 54.62 kB / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.1399, allocations: 24.84 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1399, allocations: 0 / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.1401, allocations: 67.39 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1401, allocations: 0 / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000555/0.1407, allocations: 177.5 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1408, allocations: 51.41 kB / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1409, allocations: 187.3 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.141, allocations: 25.7 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.141, allocations: 107.9 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1411, allocations: 27.73 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1411, allocations: 21.72 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1412, allocations: 334.7 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1413, allocations: 16.05 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.1414, allocations: 37.86 kB / 484.8 MB, free: 16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1415, allocations: 65.61 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1415, allocations: 4 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.1418, allocations: 109.4 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1418, allocations: 4 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1418, allocations: 0 / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1418, allocations: 4 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1419, allocations: 15.98 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.1419, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.142, allocations: 11.88 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.142, allocations: 0 / 485 MB, free: 15.78 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.0001076/0.1421, allocations: 132.8 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1421, allocations: 11.91 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1422, allocations: 13.41 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1422, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1422, allocations: 3.984 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1422, allocations: 3.938 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.1427, allocations: 391.2 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1427, allocations: 4.031 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1428, allocations: 8 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1428, allocations: 11.92 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1431, allocations: 208.2 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1432, allocations: 89.02 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1432, allocations: 3.938 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1433, allocations: 4 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1433, allocations: 11.98 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1433, allocations: 4 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1435, allocations: 135.9 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1435, allocations: 4.125 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1438, allocations: 24 kB / 486 MB, free: 14.63 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.001079/0.1449, allocations: 459.4 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1451, allocations: 63.91 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1451, allocations: 0 / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.1452, allocations: 35.98 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1455, allocations: 27.83 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.1461, allocations: 245 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1463, allocations: 0.7043 MB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.1464, allocations: 12.89 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1465, allocations: 23.42 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1465, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004484/0.151, allocations: 1.656 MB / 489.2 MB, free: 11.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches