Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.774/1.774, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 78.75 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003652/0.1198, allocations: 1.781 MB / 481.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1217, allocations: 1.029 MB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1218, allocations: 0 / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1221, allocations: 51.88 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.1225, allocations: 87.66 kB / 482.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1228, allocations: 59.88 kB / 483 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.123, allocations: 107.7 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1231, allocations: 8 kB / 483.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1232, allocations: 51.7 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.1233, allocations: 31.8 kB / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1233, allocations: 4 kB / 483.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1234, allocations: 39.98 kB / 483.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.1235, allocations: 35.83 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.1236, allocations: 43.69 kB / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1238, allocations: 104 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1238, allocations: 0 / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1238, allocations: 4 kB / 483.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1239, allocations: 0 / 483.4 MB, free: 2.27 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.0006285/0.1245, allocations: 438.7 kB / 483.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1245, allocations: 12.88 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.1246, allocations: 8.844 kB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1249, allocations: 228.9 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1249, allocations: 384 / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1249, allocations: 8.125 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1251, allocations: 61.61 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1251, allocations: 0 / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1251, allocations: 0 / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1251, allocations: 4 kB / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.1252, allocations: 15.98 kB / 484.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1256, allocations: 296.9 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1258, allocations: 62.62 kB / 484.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.1259, allocations: 24.78 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1259, allocations: 0 / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.1262, allocations: 67.39 kB / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1262, allocations: 0 / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006195/0.1268, allocations: 188.9 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1269, allocations: 55.41 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1271, allocations: 267 kB / 485.1 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1272, allocations: 29.7 kB / 485.1 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.1272, allocations: 112.1 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1273, allocations: 23.7 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1273, allocations: 25.66 kB / 485.3 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1275, allocations: 334.8 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.1276, allocations: 23.94 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.1276, allocations: 37.7 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1278, allocations: 57.7 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1278, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.128, allocations: 105.4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.128, allocations: 4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.128, allocations: 0 / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1281, allocations: 4.031 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1282, allocations: 19.98 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1282, allocations: 0.5312 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1282, allocations: 7.875 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1283, allocations: 4 kB / 485.8 MB, free: 15.55 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.0001143/0.1284, allocations: 137.8 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.1284, allocations: 23.8 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.1285, allocations: 25.39 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1285, allocations: 3.984 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1285, allocations: 4 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1285, allocations: 3.938 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.129, allocations: 403.3 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.129, allocations: 0 / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.1291, allocations: 15.98 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1291, allocations: 0 / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1291, allocations: 3.938 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1291, allocations: 4 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1291, allocations: 7.969 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1294, allocations: 208.1 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1294, allocations: 88.92 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1295, allocations: 11.92 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.1296, allocations: 0 / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1296, allocations: 4 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.1296, allocations: 15.98 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1298, allocations: 200.4 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1298, allocations: 0 / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1301, allocations: 27.98 kB / 487 MB, free: 14.29 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.001155/0.1313, allocations: 458.6 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1315, allocations: 55.92 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1315, allocations: 0 / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.1316, allocations: 27.92 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.132, allocations: 31.97 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.1326, allocations: 359.2 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1329, allocations: 0.72 MB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.133, allocations: 19.42 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.42e-07/0.133, allocations: 0 / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004624/0.1376, allocations: 2.094 MB / 490.8 MB, free: 10.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches