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.001044/0.001044, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 77.67 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 62.44 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003914/0.1225, allocations: 1.82 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1253, allocations: 1.694 MB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.1255, allocations: 3.938 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1259, allocations: 55.69 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.1264, allocations: 143.4 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1267, allocations: 103.6 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1271, allocations: 199.5 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.1271, allocations: 13.67 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1273, allocations: 87.56 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1275, allocations: 79.61 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.1276, allocations: 12 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.1279, allocations: 111.9 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.1279, allocations: 43.83 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1281, allocations: 63.55 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.1285, allocations: 219.6 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1285, allocations: 4 kB / 484.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1285, allocations: 3.938 kB / 484.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1285, allocations: 0 / 484.7 MB, free: 0.6562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000743/0.1293, allocations: 494.5 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.1293, allocations: 8.031 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.1294, allocations: 20.66 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1298, allocations: 260.9 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1298, allocations: 4.375 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1299, allocations: 4.125 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1301, allocations: 101 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1302, allocations: 0 / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1302, allocations: 4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1302, allocations: 8 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1303, allocations: 23.98 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1306, allocations: 226.4 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1309, allocations: 109.2 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/0.131, allocations: 49.61 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.131, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.1313, allocations: 105 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 4.599e-06/0.1314, allocations: 4 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004727/0.1318, allocations: 169.8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.1319, allocations: 128.5 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.1322, allocations: 237.6 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1322, allocations: 29.7 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.1323, allocations: 116.1 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.1324, allocations: 27.64 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1324, allocations: 29.7 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1325, allocations: 334.8 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.1326, allocations: 23.98 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1328, allocations: 76.5 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1329, allocations: 87.39 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.133, allocations: 4 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002851/0.1332, allocations: 145.2 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1333, allocations: 7.938 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1333, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1333, allocations: 4 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1334, allocations: 19.98 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1335, allocations: 8 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.1335, allocations: 12 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1336, allocations: 4 kB / 487.5 MB, free: 13.52 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.0001308/0.1337, allocations: 137.7 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1338, allocations: 19.72 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.1338, allocations: 20.98 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1338, allocations: 4 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1338, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1338, allocations: 192 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1341, allocations: 237.4 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1341, allocations: 0 / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.1341, allocations: 7.984 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1341, allocations: 4 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1341, allocations: 4 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1342, allocations: 4 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1342, allocations: 0 / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1345, allocations: 169.6 kB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1345, allocations: 92.91 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1346, allocations: 8 kB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1347, allocations: 7.984 kB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1347, allocations: 8 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1347, allocations: 4 kB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1349, allocations: 184.4 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1349, allocations: 4 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.1353, allocations: 48 kB / 488.4 MB, free: 12.48 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.001227/0.1365, allocations: 499.8 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1368, allocations: 87.89 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1368, allocations: 0 / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1369, allocations: 39.92 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1373, allocations: 69.53 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.1379, allocations: 296.1 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1382, allocations: 0.7164 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1384, allocations: 33.52 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.1384, allocations: 31.36 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1384, allocations: 4 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Templates: time 0.006918/0.1454, allocations: 3.1 MB / 493.3 MB, free: 7.754 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches