Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.5 MB, free: 10.59 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.11 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.00221, allocations: 82.88 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 62.44 MB / 480.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003659/0.1277, allocations: 1.732 MB / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1297, allocations: 1.031 MB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.1298, allocations: 0 / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1301, allocations: 43.77 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1304, allocations: 95.58 kB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1306, allocations: 75.69 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1308, allocations: 111.7 kB / 483.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.131, allocations: 16 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.1311, allocations: 39.8 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.1312, allocations: 31.78 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1312, allocations: 4 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1313, allocations: 43.92 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.1313, allocations: 27.91 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.1314, allocations: 43.67 kB / 484.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1316, allocations: 123.9 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1317, allocations: 4 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1317, allocations: 3.984 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1317, allocations: 0 / 484.2 MB, free: 1.793 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.0006534/0.1323, allocations: 430.8 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1324, allocations: 8.031 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1324, allocations: 8.844 kB / 484.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1327, allocations: 225.5 kB / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1327, allocations: 8.375 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1327, allocations: 8.125 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1329, allocations: 53.67 kB / 484.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1329, allocations: 0 / 484.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1329, allocations: 0 / 484.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1329, allocations: 0 / 484.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.133, allocations: 19.98 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1334, allocations: 296.8 kB / 485.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1336, allocations: 58.69 kB / 485.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.1337, allocations: 20.84 kB / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1337, allocations: 0 / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1339, allocations: 75.23 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1339, allocations: 0 / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.1345, allocations: 181.2 kB / 485.5 MB, free: 260 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1345, allocations: 59.34 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1348, allocations: 230.2 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1348, allocations: 29.7 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1349, allocations: 108.1 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.1349, allocations: 35.56 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.135, allocations: 17.72 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1352, allocations: 338.8 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.1352, allocations: 19.98 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.1353, allocations: 37.7 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1354, allocations: 53.66 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1354, allocations: 4.312 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1356, allocations: 105.6 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1357, allocations: 10.53 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1357, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1357, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.1358, allocations: 23.92 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1358, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1358, allocations: 11.84 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1359, allocations: 0 / 486.6 MB, free: 15.12 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.0001161/0.136, allocations: 129.8 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.136, allocations: 11.91 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.1361, allocations: 25.39 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1361, allocations: 0 / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1361, allocations: 0 / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1361, allocations: 3.938 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.1366, allocations: 403.2 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1366, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1366, allocations: 11.98 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1366, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1366, allocations: 7.969 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1367, allocations: 4 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1367, allocations: 3.938 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1369, allocations: 200.3 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.137, allocations: 92.91 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.137, allocations: 3.938 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1371, allocations: 12 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1371, allocations: 4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1372, allocations: 7.984 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1373, allocations: 172.4 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1373, allocations: 0 / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1376, allocations: 28.17 kB / 487.7 MB, free: 13.92 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.001723/0.1393, allocations: 455.8 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1396, allocations: 59.97 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1396, allocations: 0 / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.1396, allocations: 23.94 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.14, allocations: 42.42 kB / 488.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1406, allocations: 297.2 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.141, allocations: 0.7158 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.141, allocations: 23.36 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.141, allocations: 0 / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004374/0.1454, allocations: 2.008 MB / 491.3 MB, free: 10.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches