Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009529/0.0009531, allocations: 107 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3142/0.3142, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.84 kB / 465.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4121, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003202/0.4153, allocations: 1.794 MB / 0.5169 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.4168, allocations: 1.029 MB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.4169, allocations: 0 / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.4173, allocations: 52.08 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4175, allocations: 84.72 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.4178, allocations: 92.95 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.4179, allocations: 102.1 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.418, allocations: 21.22 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.4181, allocations: 43.12 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.4182, allocations: 32.06 kB / 0.5183 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4182, allocations: 3.75 kB / 0.5183 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.4183, allocations: 49.16 kB / 0.5184 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4184, allocations: 23.23 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.4185, allocations: 36.34 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.4187, allocations: 121.6 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4187, allocations: 4 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4187, allocations: 0 / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4187, allocations: 0 / 0.5185 GB, free: 35.56 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.0005188/0.4192, allocations: 434.3 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4193, allocations: 8.781 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.4193, allocations: 14.56 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4195, allocations: 219.6 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4195, allocations: 7.25 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4196, allocations: 4.125 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4197, allocations: 59.38 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4198, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4198, allocations: 4 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4198, allocations: 0 / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.4199, allocations: 21.78 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.4203, allocations: 290.6 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.4204, allocations: 55.97 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.4205, allocations: 25.8 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4205, allocations: 7.172 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.4207, allocations: 60.77 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.4207, allocations: 0 / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005793/0.4213, allocations: 191.8 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4214, allocations: 51.41 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4215, allocations: 241.1 kB / 0.5202 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4216, allocations: 29.7 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.4216, allocations: 108.6 kB / 0.5203 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4216, allocations: 25.69 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.4217, allocations: 22.22 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.4217, allocations: 334.2 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.4218, allocations: 20.28 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.4219, allocations: 40.44 kB / 0.5207 GB, free: 33.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.422, allocations: 54.83 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.422, allocations: 3.938 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.4221, allocations: 104.4 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.4222, allocations: 2.812 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4222, allocations: 2.781 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4222, allocations: 0 / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.4223, allocations: 25.06 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4223, allocations: 0 / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.4223, allocations: 6.625 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4224, allocations: 2.719 kB / 0.5209 GB, free: 33.5 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 7.929e-05/0.4224, allocations: 130.9 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.4225, allocations: 19.52 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4225, allocations: 15.06 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4225, allocations: 2.75 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4225, allocations: 0 / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4225, allocations: 15.2 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.4229, allocations: 398.6 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4229, allocations: 0 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.4229, allocations: 9.094 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4229, allocations: 0 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.423, allocations: 10.52 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.423, allocations: 0 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.423, allocations: 192 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.4234, allocations: 0.8005 MB / 0.5223 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.4234, allocations: 90.39 kB / 0.5224 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4235, allocations: 4 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.4235, allocations: 6.625 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4236, allocations: 6.844 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4236, allocations: 10.11 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4237, allocations: 180.3 kB / 0.5226 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4237, allocations: 0 / 0.5226 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.4241, allocations: 21.19 kB / 0.5226 GB, free: 32 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.0009503/0.425, allocations: 465.5 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.4252, allocations: 65.55 kB / 0.5231 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4252, allocations: 0 / 0.5231 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.4253, allocations: 28.53 kB / 0.5231 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4256, allocations: 22.73 kB / 0.5231 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.4261, allocations: 424.2 kB / 0.5235 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.4263, allocations: 0.711 MB / 0.5242 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.022e-05/0.4263, allocations: 18.3 kB / 0.5242 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.4264, allocations: 18.45 kB / 0.5243 GB, free: 30.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4264, allocations: 0 / 0.5243 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003938/0.4303, allocations: 1.719 MB / 0.5259 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches