Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 205.8 kB / 18.92 MB, free: 4.465 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.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.12 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 82.73 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.121, allocations: 62.46 MB / 480.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003276/0.1243, allocations: 1.781 MB / 482 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.126, allocations: 1.006 MB / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.1261, allocations: 0 / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1264, allocations: 43.83 kB / 483.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.1267, allocations: 79.73 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1269, allocations: 75.8 kB / 483.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1271, allocations: 99.7 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.1272, allocations: 8 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.1273, allocations: 51.77 kB / 483.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1273, allocations: 39.73 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1274, allocations: 4 kB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.1275, allocations: 39.98 kB / 483.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1275, allocations: 23.91 kB / 483.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1276, allocations: 35.73 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1277, allocations: 88.11 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1278, allocations: 0 / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1278, allocations: 0 / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1278, allocations: 0 / 483.6 MB, free: 2.172 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.000586/0.1284, allocations: 422.9 kB / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1284, allocations: 8.031 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.1285, allocations: 16.77 kB / 484 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1287, allocations: 204.8 kB / 484.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1287, allocations: 8.375 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1288, allocations: 8.109 kB / 484.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1289, allocations: 53.67 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1289, allocations: 0 / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1289, allocations: 4 kB / 484.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.129, allocations: 4 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.129, allocations: 15.98 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1294, allocations: 300.7 kB / 484.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1296, allocations: 58.67 kB / 484.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1297, allocations: 20.84 kB / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1297, allocations: 4 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.13, allocations: 71.33 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.13, allocations: 0 / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.1305, allocations: 169.2 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1306, allocations: 55.34 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1308, allocations: 194.9 kB / 485.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1308, allocations: 29.7 kB / 485.2 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1309, allocations: 104.1 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1309, allocations: 23.7 kB / 485.3 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.131, allocations: 25.72 kB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1312, allocations: 326.8 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.1312, allocations: 23.98 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.1313, allocations: 33.7 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1314, allocations: 65.7 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1314, allocations: 0 / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.1316, allocations: 105.5 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1317, allocations: 4 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1317, allocations: 0 / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1317, allocations: 4 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.1318, allocations: 19.92 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1318, allocations: 0 / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.1318, allocations: 11.97 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1319, allocations: 8 kB / 485.9 MB, free: 15.58 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.0001108/0.132, allocations: 124.4 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.132, allocations: 11.84 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1321, allocations: 17.41 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1321, allocations: 0 / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1321, allocations: 0 / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1321, allocations: 3.938 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1326, allocations: 403.2 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1326, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1326, allocations: 8.375 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1326, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1326, allocations: 11.94 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1327, allocations: 7.938 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1327, allocations: 0 / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1329, allocations: 200.3 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.133, allocations: 88.92 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.133, allocations: 7.938 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1331, allocations: 4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1331, allocations: 8.172 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1331, allocations: 4 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1333, allocations: 156.7 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1333, allocations: 4 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1336, allocations: 24 kB / 487 MB, free: 14.41 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.001644/0.1352, allocations: 458.1 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1354, allocations: 67.88 kB / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1354, allocations: 3.938 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.1355, allocations: 31.98 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1359, allocations: 27.92 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.1364, allocations: 288.7 kB / 487.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1368, allocations: 0.7041 MB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1368, allocations: 19.42 kB / 488.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1368, allocations: 0 / 488.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.00408/0.1409, allocations: 1.943 MB / 490.5 MB, free: 10.99 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches