Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 115.8 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.00115/0.00115, allocations: 199.5 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.303/1.303, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.12 MB / 344.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 75.88 kB / 419 MB, free: 18.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1255, allocations: 62.43 MB / 481.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002746/0.1282, allocations: 1.737 MB / 483.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1296, allocations: 1.021 MB / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.1297, allocations: 0 / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.13, allocations: 39.77 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1303, allocations: 103.5 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1305, allocations: 75.67 kB / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1306, allocations: 103.7 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.1307, allocations: 11.98 kB / 484.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1308, allocations: 39.8 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.1309, allocations: 35.78 kB / 484.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1309, allocations: 4 kB / 484.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.131, allocations: 47.98 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1311, allocations: 19.92 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.1311, allocations: 43.66 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1313, allocations: 115.6 kB / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1313, allocations: 0 / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1313, allocations: 0 / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1313, allocations: 0 / 484.8 MB, free: 1.07 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.0004689/0.1318, allocations: 414.9 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1318, allocations: 12.03 kB / 485.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1319, allocations: 8.844 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1321, allocations: 216.7 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1321, allocations: 8.25 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1322, allocations: 8.125 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1323, allocations: 53.67 kB / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1323, allocations: 0 / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1323, allocations: 0 / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1323, allocations: 4 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.1324, allocations: 15.98 kB / 485.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1328, allocations: 304.8 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1329, allocations: 54.61 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.133, allocations: 28.84 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.133, allocations: 0 / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.1332, allocations: 63.39 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1332, allocations: 0 / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004772/0.1336, allocations: 181.4 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1337, allocations: 51.41 kB / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1339, allocations: 194.4 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1339, allocations: 29.7 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.1339, allocations: 104.1 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.134, allocations: 19.72 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.134, allocations: 29.7 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1341, allocations: 330.8 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1342, allocations: 15.94 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1343, allocations: 37.7 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1344, allocations: 61.69 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1344, allocations: 4 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.1346, allocations: 101.4 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1346, allocations: 4 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1346, allocations: 160 / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1346, allocations: 3.984 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.1347, allocations: 20 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1347, allocations: 3.984 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1347, allocations: 7.938 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1348, allocations: 3.938 kB / 487.2 MB, free: 14.49 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 8.991e-05/0.1349, allocations: 133.9 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1349, allocations: 7.906 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.1349, allocations: 21.33 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1349, allocations: 4.188 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1349, allocations: 0 / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.135, allocations: 7.875 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.1354, allocations: 395.2 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1354, allocations: 0 / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1354, allocations: 16.02 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1354, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1354, allocations: 3.938 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1354, allocations: 4 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1354, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1357, allocations: 200.2 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1357, allocations: 92.92 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1358, allocations: 7.922 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1358, allocations: 8 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.1359, allocations: 0 / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1359, allocations: 7.984 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.136, allocations: 144.2 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.136, allocations: 0 / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1363, allocations: 27.98 kB / 488.2 MB, free: 13.32 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.0009632/0.1372, allocations: 457.2 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1374, allocations: 63.91 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1374, allocations: 0 / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.1375, allocations: 35.98 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1378, allocations: 35.94 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.1382, allocations: 219.3 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1385, allocations: 0.708 MB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.1386, allocations: 24.92 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1386, allocations: 19.42 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1386, allocations: 0 / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003947/0.1426, allocations: 1.716 MB / 491.5 MB, free: 10.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches