Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000749/0.000749, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000849/0.000849, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002802, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 63.55 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002269/0.1327, allocations: 1.446 MB / 484.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1345, allocations: 0.9902 MB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.1346, allocations: 4 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.135, allocations: 51.81 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1353, allocations: 79.75 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1355, allocations: 67.8 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1358, allocations: 95.7 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1359, allocations: 11.98 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.136, allocations: 43.78 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.1361, allocations: 39.72 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1361, allocations: 4 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1363, allocations: 47.97 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1364, allocations: 19.92 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.1364, allocations: 69.31 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1367, allocations: 119.9 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1367, allocations: 0 / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1367, allocations: 0 / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1367, allocations: 0 / 486.2 MB, free: 1.055 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.000595/0.1373, allocations: 407 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1374, allocations: 20.81 kB / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1374, allocations: 12.75 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1377, allocations: 224.8 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1377, allocations: 4.359 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1378, allocations: 4.125 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1379, allocations: 57.67 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1379, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.138, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.138, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.138, allocations: 23.98 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1385, allocations: 300.8 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1387, allocations: 58.67 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.1388, allocations: 16.86 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1388, allocations: 3.984 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.139, allocations: 71.33 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.139, allocations: 4 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1396, allocations: 173.1 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1396, allocations: 55.39 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1399, allocations: 238.2 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1399, allocations: 25.7 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.14, allocations: 116.1 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.14, allocations: 23.66 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.14, allocations: 9.719 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1402, allocations: 334.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.1402, allocations: 16 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.1403, allocations: 33.7 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1404, allocations: 69.64 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1404, allocations: 3.938 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.1406, allocations: 109.5 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1407, allocations: 4 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1407, allocations: 4.172 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1407, allocations: 0 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.1408, allocations: 23.88 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1408, allocations: 0 / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1409, allocations: 3.938 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1409, allocations: 7.984 kB / 488.6 MB, free: 14.41 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.0001025/0.141, allocations: 129.9 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.141, allocations: 15.81 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1411, allocations: 17.39 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1411, allocations: 4 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1411, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1411, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1416, allocations: 403.3 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1416, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.1416, allocations: 8 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1416, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1416, allocations: 7.922 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1417, allocations: 8.312 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1417, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1419, allocations: 208.2 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.142, allocations: 92.92 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.142, allocations: 3.938 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1421, allocations: 15.97 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1421, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1421, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1423, allocations: 176.4 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1423, allocations: 0 / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1426, allocations: 31.98 kB / 489.7 MB, free: 13.19 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.001059/0.1437, allocations: 449.8 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1439, allocations: 55.98 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1439, allocations: 4.062 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.144, allocations: 27.92 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1443, allocations: 35.47 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.1448, allocations: 290.6 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1451, allocations: 0.7121 MB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.1452, allocations: 16.86 kB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1453, allocations: 23.44 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1453, allocations: 3.938 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004526/0.1498, allocations: 1.65 MB / 492.9 MB, free: 10.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches