Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 96.09 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 204.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 12 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002027/0.1233, allocations: 1.442 MB / 485.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1249, allocations: 0.9941 MB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.125, allocations: 0 / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1253, allocations: 47.83 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1256, allocations: 83.72 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1258, allocations: 63.88 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.126, allocations: 107.6 kB / 486.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.1261, allocations: 8 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.1262, allocations: 43.77 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.1263, allocations: 31.8 kB / 486.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1264, allocations: 7.938 kB / 486.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1265, allocations: 39.98 kB / 486.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1265, allocations: 27.91 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.1266, allocations: 73.38 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1268, allocations: 96.02 kB / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1268, allocations: 0 / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1268, allocations: 0 / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1268, allocations: 0 / 486.8 MB, free: 1.09 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.0005168/0.1273, allocations: 403.1 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1274, allocations: 16.86 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1275, allocations: 12.75 kB / 487.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1277, allocations: 216.8 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1277, allocations: 12.38 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1278, allocations: 4.125 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1279, allocations: 57.61 kB / 487.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1279, allocations: 4 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.128, allocations: 3.938 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.128, allocations: 0 / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.128, allocations: 19.98 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1284, allocations: 292.8 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1286, allocations: 62.59 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1287, allocations: 24.84 kB / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1287, allocations: 0 / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1289, allocations: 63.39 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1289, allocations: 4 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.1294, allocations: 181.4 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1294, allocations: 51.41 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1297, allocations: 235 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1297, allocations: 29.7 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.1298, allocations: 108.1 kB / 488.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1298, allocations: 23.64 kB / 488.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.1298, allocations: 21.7 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.13, allocations: 330.8 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.13, allocations: 20 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.1301, allocations: 37.64 kB / 489 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1302, allocations: 61.7 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1302, allocations: 192 / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1304, allocations: 105.4 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1305, allocations: 11.94 kB / 489.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1305, allocations: 4.062 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1305, allocations: 0 / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.1306, allocations: 12 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1306, allocations: 4 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.1306, allocations: 11.92 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1307, allocations: 4 kB / 489.2 MB, free: 14.45 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 9.694e-05/0.1308, allocations: 129.8 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1308, allocations: 23.83 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.1309, allocations: 13.41 kB / 489.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1309, allocations: 4 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1309, allocations: 0 / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1309, allocations: 3.938 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1313, allocations: 395.3 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1313, allocations: 7.938 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1314, allocations: 8 kB / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1314, allocations: 4.031 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1314, allocations: 11.92 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1314, allocations: 0 / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1314, allocations: 4 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1316, allocations: 204.4 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.1317, allocations: 92.92 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1317, allocations: 11.92 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.1318, allocations: 4 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1318, allocations: 4 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1319, allocations: 11.98 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.132, allocations: 168.4 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.132, allocations: 0 / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1323, allocations: 27.98 kB / 490.3 MB, free: 13.24 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.00102/0.1333, allocations: 462.7 kB / 490.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1335, allocations: 55.92 kB / 490.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1335, allocations: 0 / 490.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.1336, allocations: 31.92 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1339, allocations: 32.09 kB / 490.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1344, allocations: 324.2 kB / 491.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1347, allocations: 0.7082 MB / 491.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1348, allocations: 15.44 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1348, allocations: 0 / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003669/0.1385, allocations: 1.993 MB / 493.9 MB, free: 9.738 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches