Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 116.9 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.001051/0.001051, allocations: 200.6 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.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 77 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 62.44 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003077/0.126, allocations: 1.831 MB / 483.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.1285, allocations: 1.694 MB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1286, allocations: 8 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1289, allocations: 51.67 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.1293, allocations: 143.3 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1296, allocations: 95.7 kB / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1299, allocations: 207.4 kB / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.1299, allocations: 17.67 kB / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.13, allocations: 83.62 kB / 485.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1302, allocations: 87.55 kB / 485.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1303, allocations: 8 kB / 485.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1305, allocations: 111.9 kB / 485.8 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.1306, allocations: 39.78 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.1306, allocations: 59.61 kB / 485.9 MB, free: 120 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.131, allocations: 231.3 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.131, allocations: 0 / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.131, allocations: 0 / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.131, allocations: 0 / 486.1 MB, free: 15.89 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.000617/0.1316, allocations: 494.6 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1316, allocations: 8.031 kB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1317, allocations: 24.64 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1321, allocations: 256.9 kB / 486.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1321, allocations: 4.359 kB / 486.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1321, allocations: 12.06 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1323, allocations: 97.09 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1323, allocations: 0 / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1324, allocations: 7.984 kB / 487 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1324, allocations: 0 / 487 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1325, allocations: 31.92 kB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.1327, allocations: 222.5 kB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1329, allocations: 105.2 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/0.133, allocations: 49.56 kB / 487.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1331, allocations: 0 / 487.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.1333, allocations: 109.1 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1333, allocations: 0 / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004327/0.1337, allocations: 169.3 kB / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1338, allocations: 132.5 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.134, allocations: 233.6 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1341, allocations: 33.64 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.1341, allocations: 120.1 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1342, allocations: 27.64 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1342, allocations: 29.72 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1343, allocations: 330.8 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.1344, allocations: 31.98 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.1345, allocations: 73.12 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1347, allocations: 87.36 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1347, allocations: 3.938 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002595/0.135, allocations: 137.8 kB / 488.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.135, allocations: 4 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.135, allocations: 12.2 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.135, allocations: 0 / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1351, allocations: 23.94 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1351, allocations: 4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.1352, allocations: 11.98 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1352, allocations: 4 kB / 488.9 MB, free: 12.75 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.0001038/0.1353, allocations: 133.8 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1354, allocations: 19.72 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1354, allocations: 25 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1354, allocations: 0 / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1355, allocations: 3.984 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1355, allocations: 0 / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1356, allocations: 229.4 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1356, allocations: 0 / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1357, allocations: 11.94 kB / 489.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1357, allocations: 0 / 489.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1357, allocations: 11.98 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1357, allocations: 0 / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1357, allocations: 0 / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.136, allocations: 169.6 kB / 489.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1361, allocations: 100.9 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1361, allocations: 0 / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.1362, allocations: 4.094 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1362, allocations: 15.92 kB / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1362, allocations: 4 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1364, allocations: 184.5 kB / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 489.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1367, allocations: 47.98 kB / 489.9 MB, free: 11.71 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.001079/0.1378, allocations: 0.4956 MB / 490.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.138, allocations: 91.83 kB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.138, allocations: 0 / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.1381, allocations: 35.98 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1385, allocations: 64.23 kB / 490.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.139, allocations: 283.8 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1392, allocations: 0.7242 MB / 491.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.235e-05/0.1393, allocations: 33.52 kB / 491.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.1394, allocations: 27.42 kB / 491.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1394, allocations: 0 / 491.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.006152/0.1456, allocations: 3.115 MB / 494.7 MB, free: 6.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches