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/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.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/Complex trunk/package.mo): time 0.001259/0.001259, 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.343/1.343, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 110.2 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.379/0.379, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.384, allocations: 62.01 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003677/0.3877, allocations: 1.755 MB / 0.5169 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3898, allocations: 1.01 MB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.39, allocations: 2.875 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.3904, allocations: 60.72 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.3908, allocations: 82.06 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3912, allocations: 92.92 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.3914, allocations: 89.64 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.3915, allocations: 5.797 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3916, allocations: 53.03 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.3917, allocations: 32.64 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3917, allocations: 0 / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3919, allocations: 35.33 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.3919, allocations: 30.59 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.392, allocations: 45.22 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3922, allocations: 117.5 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3923, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3923, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3923, allocations: 0 / 0.5185 GB, free: 35.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005751/0.3929, allocations: 433.3 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3929, allocations: 11.47 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.393, allocations: 14.47 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3932, allocations: 218.8 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3932, allocations: 7.312 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3932, allocations: 4.125 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3934, allocations: 52.02 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3934, allocations: 3.984 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3934, allocations: 0 / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3934, allocations: 0 / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.3935, allocations: 20.58 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.3937, allocations: 195.2 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3939, allocations: 46.12 kB / 0.5194 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.394, allocations: 28.64 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.394, allocations: 3.312 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.3943, allocations: 71.25 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3943, allocations: 0 / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002837/0.3946, allocations: 93.19 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3946, allocations: 54.78 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3948, allocations: 277.1 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3949, allocations: 25.7 kB / 0.52 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.3949, allocations: 109.2 kB / 0.5201 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.395, allocations: 17.89 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.395, allocations: 21.38 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.3951, allocations: 334.1 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.3952, allocations: 9.5 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.3952, allocations: 33.31 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.3953, allocations: 50.22 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3953, allocations: 0 / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001426/0.3955, allocations: 89.06 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3955, allocations: 5.406 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3955, allocations: 0 / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3955, allocations: 2.938 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.3956, allocations: 11.73 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3956, allocations: 0 / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.3957, allocations: 2.719 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3957, allocations: 2.781 kB / 0.5206 GB, free: 33.71 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 (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 9.554e-05/0.3958, allocations: 149.6 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3958, allocations: 13.75 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.3959, allocations: 14.88 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3959, allocations: 5.719 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3959, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3959, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.396, allocations: 206.3 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3961, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.3961, allocations: 5.688 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3961, allocations: 4 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3961, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3961, allocations: 3 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3961, allocations: 2.562 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3965, allocations: 0.6994 MB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3966, allocations: 91.73 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3966, allocations: 8.125 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.3967, allocations: 2.906 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3967, allocations: 6.047 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3967, allocations: 6.844 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3969, allocations: 200.9 kB / 0.522 GB, free: 32.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3969, allocations: 0 / 0.522 GB, free: 32.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000346/0.3972, allocations: 17.66 kB / 0.522 GB, free: 32.43 MB / 378.7 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.001013/0.3983, allocations: 411.8 kB / 0.5224 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.3984, allocations: 40.73 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3984, allocations: 0 / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.3985, allocations: 24.94 kB / 0.5225 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3988, allocations: 23.92 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.3993, allocations: 407.2 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3995, allocations: 0.7177 MB / 0.5236 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.3996, allocations: 17.47 kB / 0.5236 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3996, allocations: 20.03 kB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3996, allocations: 0 / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.004082/0.4037, allocations: 1.505 MB / 0.5251 GB, free: 30.99 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches