Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 84.98 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 62.43 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00357/0.1313, allocations: 1.731 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.133, allocations: 1.025 MB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.1332, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1335, allocations: 39.77 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1338, allocations: 95.59 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1341, allocations: 75.67 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1343, allocations: 107.7 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1344, allocations: 12 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.1345, allocations: 47.78 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.1346, allocations: 35.72 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1346, allocations: 4 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1347, allocations: 39.98 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.1348, allocations: 27.91 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.1349, allocations: 31.75 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1351, allocations: 119.9 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1351, allocations: 0 / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1351, allocations: 0 / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1351, allocations: 4 kB / 483.4 MB, free: 1.863 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.0006231/0.1357, allocations: 418.9 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1358, allocations: 8.031 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1358, allocations: 12.78 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1361, allocations: 220 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1361, allocations: 4.375 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1361, allocations: 8.109 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1363, allocations: 53.67 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1363, allocations: 8 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1363, allocations: 0 / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1363, allocations: 0 / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.1364, allocations: 23.98 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1368, allocations: 284.8 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.137, allocations: 58.67 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.137, allocations: 20.86 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.137, allocations: 4 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1372, allocations: 71.27 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1373, allocations: 0 / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.1378, allocations: 181 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1378, allocations: 55.41 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.1381, allocations: 206.3 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1382, allocations: 29.7 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1383, allocations: 104.1 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1384, allocations: 19.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.1384, allocations: 21.72 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1385, allocations: 330.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.1386, allocations: 23.94 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.1387, allocations: 41.7 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1388, allocations: 61.7 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1388, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.139, allocations: 101.9 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1391, allocations: 4 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1391, allocations: 3.984 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1391, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1393, allocations: 27.97 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1393, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1394, allocations: 3.938 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1394, allocations: 4 kB / 485.8 MB, free: 15.26 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.0001171/0.1395, allocations: 137.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1395, allocations: 7.906 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.1396, allocations: 21.39 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1396, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1396, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1396, allocations: 7.938 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1401, allocations: 399.2 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1401, allocations: 0 / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1401, allocations: 8 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1401, allocations: 0 / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1401, allocations: 11.94 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1402, allocations: 3.938 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1402, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1404, allocations: 200.3 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1405, allocations: 97.09 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1406, allocations: 7.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1406, allocations: 3.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1407, allocations: 7.984 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1407, allocations: 8 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1409, allocations: 160.8 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1409, allocations: 0 / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1411, allocations: 28 kB / 486.9 MB, free: 14.07 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.001035/0.1422, allocations: 456.5 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1424, allocations: 67.91 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1424, allocations: 0 / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.1425, allocations: 32.14 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1429, allocations: 24.12 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.1433, allocations: 243 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1437, allocations: 0.708 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.1437, allocations: 20.89 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.1438, allocations: 19.42 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1438, allocations: 0 / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004719/0.1485, allocations: 1.725 MB / 490.1 MB, free: 10.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches