Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 80.19 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003438/0.1267, allocations: 1.75 MB / 481.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1283, allocations: 0.99 MB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.1285, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1288, allocations: 51.81 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.1292, allocations: 87.73 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1294, allocations: 59.88 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1296, allocations: 103.7 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.1297, allocations: 12.16 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.1298, allocations: 39.8 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.1299, allocations: 31.86 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1299, allocations: 0 / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.13, allocations: 39.97 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.13, allocations: 27.8 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.1301, allocations: 47.67 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1303, allocations: 123.8 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1303, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1303, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1303, allocations: 0 / 482.8 MB, free: 2.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005651/0.1309, allocations: 430.8 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.131, allocations: 8.031 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.131, allocations: 16.75 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1313, allocations: 224.8 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1313, allocations: 384 / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1313, allocations: 20 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1315, allocations: 45.67 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1315, allocations: 0 / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1315, allocations: 0 / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1315, allocations: 4 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.1316, allocations: 15.98 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.1318, allocations: 189.7 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.132, allocations: 54.56 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.132, allocations: 24.78 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1321, allocations: 4 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1323, allocations: 63.39 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1323, allocations: 3.938 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002795/0.1326, allocations: 97.48 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1326, allocations: 59.34 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1329, allocations: 271 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1329, allocations: 25.7 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.133, allocations: 116.1 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.133, allocations: 11.89 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1331, allocations: 17.72 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1332, allocations: 330.8 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1332, allocations: 16.25 kB / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1333, allocations: 29.7 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.1334, allocations: 45.7 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1334, allocations: 0 / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002038/0.1336, allocations: 89.38 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1337, allocations: 4 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1337, allocations: 4 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1337, allocations: 4.031 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.1338, allocations: 11.98 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1338, allocations: 4.141 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.1339, allocations: 19.78 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1339, allocations: 3.984 kB / 485.1 MB, free: 15.79 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 (7): * Single equations (assignments): 7 * 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.000105/0.134, allocations: 133.8 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.134, allocations: 11.91 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.1341, allocations: 20.98 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1341, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1341, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1341, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1343, allocations: 205.5 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1343, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1343, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1343, allocations: 4 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1343, allocations: 3.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1343, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1343, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1345, allocations: 125 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1347, allocations: 88.92 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1347, allocations: 7.922 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.1347, allocations: 4 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1348, allocations: 4 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1348, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.135, allocations: 208.4 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.135, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1352, allocations: 24 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000941/0.1362, allocations: 396.2 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1363, allocations: 51.91 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1364, allocations: 0 / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.1364, allocations: 16 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1367, allocations: 39.28 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.1372, allocations: 286.5 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1376, allocations: 0.7166 MB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.1376, allocations: 12.55 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.1377, allocations: 15.44 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1377, allocations: 0 / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004929/0.1426, allocations: 1.51 MB / 488.9 MB, free: 11.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches