Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 200.6 kB / 19.35 MB, free: 3.727 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.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 80.94 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1182, allocations: 62.43 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003379/0.1216, allocations: 1.839 MB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1243, allocations: 1.698 MB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1244, allocations: 4 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.1248, allocations: 47.64 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.1253, allocations: 139.4 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1257, allocations: 107.6 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.126, allocations: 199.4 kB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.1261, allocations: 17.67 kB / 485.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1262, allocations: 95.55 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1265, allocations: 79.56 kB / 485.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1265, allocations: 8 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.1267, allocations: 115.9 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1268, allocations: 35.83 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.1269, allocations: 63.55 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.1273, allocations: 223.4 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1273, allocations: 0 / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1273, allocations: 0 / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1274, allocations: 4 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007251/0.1281, allocations: 494.6 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1281, allocations: 8.031 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.1282, allocations: 20.66 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1286, allocations: 260.8 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1286, allocations: 4.375 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1287, allocations: 4.125 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1289, allocations: 101.1 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1289, allocations: 7.938 kB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1289, allocations: 8 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1289, allocations: 0 / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.129, allocations: 23.98 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.1293, allocations: 226.4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1296, allocations: 109.2 kB / 487.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.1297, allocations: 45.62 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1297, allocations: 7.875 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.13, allocations: 109 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.13, allocations: 0 / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004499/0.1304, allocations: 165.4 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1305, allocations: 132.5 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1308, allocations: 237.6 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.1309, allocations: 33.69 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.1309, allocations: 116.1 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.131, allocations: 23.66 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.1311, allocations: 29.7 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1313, allocations: 330.8 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.1314, allocations: 23.98 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1315, allocations: 81.12 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1317, allocations: 87.36 kB / 488.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1317, allocations: 0 / 488.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003467/0.132, allocations: 149.9 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1321, allocations: 4 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1321, allocations: 4 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1321, allocations: 4 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1322, allocations: 19.98 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.1322, allocations: 4 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.1323, allocations: 8 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1323, allocations: 4 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001202/0.1325, allocations: 145.7 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1325, allocations: 19.72 kB / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.1326, allocations: 20.98 kB / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1326, allocations: 4 kB / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1326, allocations: 0 / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1326, allocations: 0 / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1328, allocations: 229.4 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1328, allocations: 0 / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1329, allocations: 11.98 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1329, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1329, allocations: 4 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1329, allocations: 8 kB / 489.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1329, allocations: 0 / 489.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1332, allocations: 173.5 kB / 489.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1333, allocations: 92.91 kB / 489.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1333, allocations: 8 kB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1334, allocations: 7.984 kB / 489.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1334, allocations: 8 kB / 489.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1335, allocations: 11.98 kB / 489.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1336, allocations: 176.5 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1336, allocations: 0 / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1339, allocations: 51.98 kB / 489.9 MB, free: 11.67 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001134/0.1351, allocations: 0.4936 MB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1353, allocations: 79.89 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1354, allocations: 12.06 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1355, allocations: 35.92 kB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1358, allocations: 62.8 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.1364, allocations: 279.9 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1368, allocations: 0.7242 MB / 491.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1369, allocations: 33.5 kB / 491.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.137, allocations: 27.42 kB / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.137, allocations: 0 / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.006648/0.1436, allocations: 3.11 MB / 494.7 MB, free: 6.949 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches