Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009996/0.0009996, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.56 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00213/0.1201, allocations: 1.45 MB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1217, allocations: 0.9902 MB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1218, allocations: 0 / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1221, allocations: 43.83 kB / 485.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1224, allocations: 71.77 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1226, allocations: 67.8 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1228, allocations: 107.6 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.1228, allocations: 12 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.1229, allocations: 39.78 kB / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.123, allocations: 27.8 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.123, allocations: 4 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.1231, allocations: 43.97 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.1232, allocations: 23.86 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.1233, allocations: 61.44 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1235, allocations: 115.9 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1235, allocations: 4 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1235, allocations: 0 / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1235, allocations: 0 / 486.1 MB, free: 1.102 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.0005699/0.1241, allocations: 410.4 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1241, allocations: 12.88 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1242, allocations: 8.844 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1244, allocations: 212 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1245, allocations: 12.31 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1245, allocations: 8.125 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1246, allocations: 53.67 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1247, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1247, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1247, allocations: 4 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.1248, allocations: 15.98 kB / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1252, allocations: 285.1 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1254, allocations: 70.59 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.1254, allocations: 16.86 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1255, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1257, allocations: 75.38 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1257, allocations: 0 / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.1263, allocations: 185 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1263, allocations: 55.41 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1265, allocations: 210.9 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1266, allocations: 25.7 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.1266, allocations: 108.1 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1267, allocations: 15.72 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1267, allocations: 17.7 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1269, allocations: 334.7 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1269, allocations: 23.94 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.127, allocations: 37.64 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1271, allocations: 61.7 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1271, allocations: 0 / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1273, allocations: 101.4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1274, allocations: 11.98 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1274, allocations: 4.031 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1274, allocations: 0 / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.1275, allocations: 12 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1275, allocations: 4 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.1276, allocations: 0 / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1276, allocations: 11.92 kB / 488.5 MB, free: 14.51 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.000104/0.1277, allocations: 129.7 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1277, allocations: 11.91 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/0.1278, allocations: 17.39 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1279, allocations: 8 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1279, allocations: 0 / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1279, allocations: 0 / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.1283, allocations: 399.2 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1283, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1284, allocations: 8 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1284, allocations: 0 / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1284, allocations: 11.94 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1284, allocations: 4.031 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1284, allocations: 0 / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1287, allocations: 204.1 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1287, allocations: 96.91 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1288, allocations: 7.938 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1288, allocations: 0 / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1289, allocations: 11.98 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1289, allocations: 8.375 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.129, allocations: 152.3 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 0 / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1293, allocations: 27.98 kB / 489.6 MB, free: 13.33 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.001075/0.1304, allocations: 458.9 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1306, allocations: 59.92 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1306, allocations: 0 / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.1307, allocations: 27.92 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1311, allocations: 35.47 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.1316, allocations: 262.3 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1319, allocations: 0.716 MB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.132, allocations: 12.88 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.132, allocations: 19.42 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.132, allocations: 0 / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005182/0.1372, allocations: 1.647 MB / 492.8 MB, free: 10.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches