Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 115.8 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.001847/0.001847, allocations: 199.5 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.399/1.399, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 71.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.0032/0.126, allocations: 1.731 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1277, allocations: 1.013 MB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1278, allocations: 4 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1282, allocations: 87.69 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.1285, allocations: 119.5 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1287, allocations: 75.73 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.129, allocations: 123.6 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1291, allocations: 12 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1292, allocations: 51.77 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1294, allocations: 55.77 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1294, allocations: 4 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1295, allocations: 43.97 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1296, allocations: 23.92 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.1297, allocations: 35.73 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1299, allocations: 131.5 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1299, allocations: 4 kB / 485 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1299, allocations: 0 / 485 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1299, allocations: 3.938 kB / 485 MB, free: 0.9961 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.0006533/0.1306, allocations: 426.9 kB / 485.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1306, allocations: 8.031 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1307, allocations: 16.75 kB / 485.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.131, allocations: 212 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.131, allocations: 4.375 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1311, allocations: 12.03 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1312, allocations: 57.61 kB / 485.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1312, allocations: 4 kB / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1313, allocations: 3.984 kB / 485.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1313, allocations: 0 / 485.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.1314, allocations: 19.98 kB / 485.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1318, allocations: 289 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.132, allocations: 62.52 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1321, allocations: 20.86 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1321, allocations: 0 / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.1322, allocations: 67.39 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1322, allocations: 0 / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.1328, allocations: 177 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1329, allocations: 55.41 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1331, allocations: 228.3 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1331, allocations: 25.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.1332, allocations: 108.1 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.1333, allocations: 23.66 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1333, allocations: 21.7 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1335, allocations: 330.8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1335, allocations: 19.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.1336, allocations: 41.64 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1337, allocations: 61.78 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1337, allocations: 384 / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.1339, allocations: 109.4 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1339, allocations: 8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.134, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.134, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.1341, allocations: 24.02 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1341, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1341, allocations: 4.125 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1341, allocations: 4 kB / 487.4 MB, free: 14.36 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.0001249/0.1343, allocations: 137.7 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1343, allocations: 7.906 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1344, allocations: 21.34 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1344, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1344, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1344, allocations: 11.92 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.1348, allocations: 399.2 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1349, allocations: 0 / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.1349, allocations: 11.98 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1349, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1349, allocations: 7.938 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1349, allocations: 4 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1349, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1352, allocations: 200.3 kB / 488.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1353, allocations: 92.92 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1353, allocations: 3.938 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1354, allocations: 7.984 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1354, allocations: 4 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1354, allocations: 8 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1356, allocations: 165.2 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1356, allocations: 4 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1358, allocations: 20 kB / 488.4 MB, free: 13.16 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.001071/0.1369, allocations: 463 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1371, allocations: 59.89 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1371, allocations: 0 / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.1372, allocations: 31.98 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1376, allocations: 38.2 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.1381, allocations: 247.4 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1384, allocations: 0.7159 MB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1384, allocations: 12.88 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1385, allocations: 15.44 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1385, allocations: 0 / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004347/0.1428, allocations: 1.732 MB / 491.7 MB, free: 9.992 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches