Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001138, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 105.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3756/0.3756, allocations: 44.84 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3333, allocations: 62.01 MB / 0.5152 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002717/0.3361, allocations: 1.795 MB / 0.5169 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3374, allocations: 1.027 MB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.3375, allocations: 0 / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.3377, allocations: 83.33 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.338, allocations: 102.3 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3382, allocations: 85.36 kB / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3383, allocations: 120.2 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.3384, allocations: 13.34 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.3385, allocations: 49.78 kB / 0.5183 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3386, allocations: 57.8 kB / 0.5184 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3386, allocations: 0 / 0.5184 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.3387, allocations: 48.73 kB / 0.5185 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.3387, allocations: 23.98 kB / 0.5185 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.3388, allocations: 35.53 kB / 0.5185 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3389, allocations: 117.8 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.339, allocations: 4 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.339, allocations: 0 / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.339, allocations: 4 kB / 0.5186 GB, free: 35.68 MB / 378.7 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.0004023/0.3394, allocations: 425.5 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.3394, allocations: 8.438 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3395, allocations: 17.52 kB / 0.5191 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3396, allocations: 210.9 kB / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3396, allocations: 384 / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3397, allocations: 14.98 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3398, allocations: 53.09 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3398, allocations: 4 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3398, allocations: 4 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3398, allocations: 0 / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.3399, allocations: 22.77 kB / 0.5194 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.3402, allocations: 293.9 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3403, allocations: 62.83 kB / 0.5197 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.3404, allocations: 20.78 kB / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3404, allocations: 0 / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3406, allocations: 64.16 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.3406, allocations: 0 / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004368/0.341, allocations: 178.5 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.3411, allocations: 55.41 kB / 0.52 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3412, allocations: 225.8 kB / 0.5202 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.3412, allocations: 29.7 kB / 0.5202 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.3413, allocations: 105.1 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3413, allocations: 28.52 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.3414, allocations: 19.31 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.3414, allocations: 338.7 kB / 0.5207 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.3415, allocations: 18.55 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.3415, allocations: 36.36 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.496e-05/0.3416, allocations: 58.45 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3416, allocations: 2.844 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.3418, allocations: 93.62 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3418, allocations: 5.344 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3418, allocations: 3.234 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3418, allocations: 2.719 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.3419, allocations: 19.25 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.342, allocations: 2.719 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.342, allocations: 13.84 kB / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.342, allocations: 2.75 kB / 0.521 GB, free: 33.64 MB / 378.7 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 6.864e-05/0.3421, allocations: 130.7 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.3421, allocations: 15.16 kB / 0.5211 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.3422, allocations: 12.38 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3422, allocations: 2.531 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3422, allocations: 7.422 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3422, allocations: 3.938 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.3425, allocations: 398.4 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3425, allocations: 0 / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.3425, allocations: 7.469 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3426, allocations: 6.219 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3426, allocations: 13.97 kB / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3426, allocations: 0 / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3426, allocations: 4.031 kB / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.3429, allocations: 0.7888 MB / 0.5223 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.343, allocations: 94.8 kB / 0.5224 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.343, allocations: 2.656 kB / 0.5224 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.3431, allocations: 4 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3431, allocations: 9.047 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3431, allocations: 2.562 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.3432, allocations: 170.6 kB / 0.5226 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3432, allocations: 0 / 0.5226 GB, free: 32.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.3436, allocations: 25 kB / 0.5226 GB, free: 32.14 MB / 378.7 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.0008746/0.3445, allocations: 476.3 kB / 0.5231 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3446, allocations: 58.61 kB / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3446, allocations: 3.938 kB / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.3447, allocations: 29.39 kB / 0.5231 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.345, allocations: 28.11 kB / 0.5232 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3454, allocations: 405.2 kB / 0.5236 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.3456, allocations: 0.7121 MB / 0.5242 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3456, allocations: 19.41 kB / 0.5243 GB, free: 30.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.3457, allocations: 20.19 kB / 0.5243 GB, free: 30.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3457, allocations: 0 / 0.5243 GB, free: 30.82 MB / 378.7 MB Notification: Performance of Templates: time 0.003521/0.3492, allocations: 1.704 MB / 0.526 GB, free: 30.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches