Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 207.4 kB / 17.99 MB, free: 3.801 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.7 MB / 245.5 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 114.4 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4299/0.4299, allocations: 44.82 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4159, allocations: 62.01 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003214/0.4191, allocations: 1.989 MB / 0.5171 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.4208, allocations: 1.145 MB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.4209, allocations: 0 / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.4214, allocations: 156.6 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.4218, allocations: 161.6 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4222, allocations: 163 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.4225, allocations: 235.2 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.4226, allocations: 32.11 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.4227, allocations: 106.3 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.4229, allocations: 134.7 kB / 0.5192 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.423, allocations: 9.562 kB / 0.5192 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.4231, allocations: 54.8 kB / 0.5192 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.4232, allocations: 48.8 kB / 0.5193 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.4233, allocations: 84.95 kB / 0.5193 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.4236, allocations: 216.2 kB / 0.5196 GB, free: 35.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4236, allocations: 0 / 0.5196 GB, free: 35.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4236, allocations: 0 / 0.5196 GB, free: 35.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4236, allocations: 0 / 0.5196 GB, free: 35.04 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007199/0.4244, allocations: 0.5362 MB / 0.5201 GB, free: 34.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4244, allocations: 14.88 kB / 0.5201 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.4245, allocations: 27.59 kB / 0.5201 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.4248, allocations: 266.9 kB / 0.5204 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4248, allocations: 10.42 kB / 0.5204 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.4248, allocations: 13.44 kB / 0.5204 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.425, allocations: 113.2 kB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4251, allocations: 0 / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4251, allocations: 6.875 kB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4251, allocations: 4 kB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4252, allocations: 52.3 kB / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4257, allocations: 470.9 kB / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.426, allocations: 126.5 kB / 0.5211 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.4261, allocations: 44.2 kB / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4262, allocations: 3.062 kB / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.4264, allocations: 119.8 kB / 0.5213 GB, free: 33.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4264, allocations: 0 / 0.5213 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001141/0.4276, allocations: 0.4887 MB / 0.5218 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4276, allocations: 80.17 kB / 0.5218 GB, free: 33.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.428, allocations: 370.8 kB / 0.5222 GB, free: 33.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.428, allocations: 32.17 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.4281, allocations: 153 kB / 0.5224 GB, free: 32.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.4281, allocations: 62.58 kB / 0.5224 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.4282, allocations: 45 kB / 0.5225 GB, free: 32.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.4283, allocations: 341.3 kB / 0.5228 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4284, allocations: 60 kB / 0.5229 GB, free: 32.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4285, allocations: 91.48 kB / 0.5229 GB, free: 32.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.4287, allocations: 163.1 kB / 0.5231 GB, free: 32.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4287, allocations: 0 / 0.5231 GB, free: 32.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003213/0.4291, allocations: 236 kB / 0.5233 GB, free: 32.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4291, allocations: 8.875 kB / 0.5233 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4291, allocations: 2.594 kB / 0.5233 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4291, allocations: 8.047 kB / 0.5233 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4293, allocations: 41.28 kB / 0.5234 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4293, allocations: 7.875 kB / 0.5234 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.4293, allocations: 8.75 kB / 0.5234 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4294, allocations: 7.469 kB / 0.5234 GB, free: 32.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001122/0.4295, allocations: 153.2 kB / 0.5236 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.4295, allocations: 33.47 kB / 0.5236 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.4296, allocations: 37.12 kB / 0.5236 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4296, allocations: 7.438 kB / 0.5236 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4296, allocations: 0 / 0.5236 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4296, allocations: 6.766 kB / 0.5236 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.4303, allocations: 0.7321 MB / 0.5244 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4303, allocations: 2.594 kB / 0.5244 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.4304, allocations: 35.16 kB / 0.5244 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4304, allocations: 2.812 kB / 0.5244 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4305, allocations: 10.02 kB / 0.5244 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4305, allocations: 2.719 kB / 0.5244 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4305, allocations: 2.656 kB / 0.5244 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.4312, allocations: 1.063 MB / 0.5254 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.4313, allocations: 106.4 kB / 0.5255 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.4313, allocations: 7.297 kB / 0.5256 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4314, allocations: 11.62 kB / 0.5256 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4315, allocations: 19.28 kB / 0.5256 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4315, allocations: 8.562 kB / 0.5256 GB, free: 30.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.4318, allocations: 279.4 kB / 0.5259 GB, free: 30.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4318, allocations: 0 / 0.5259 GB, free: 30.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.4322, allocations: 45.28 kB / 0.5259 GB, free: 30.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00118/0.4334, allocations: 0.5153 MB / 0.5264 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.4337, allocations: 164.2 kB / 0.5266 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4338, allocations: 0 / 0.5266 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4339, allocations: 75.83 kB / 0.5266 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.4345, allocations: 58.5 kB / 0.5267 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.4354, allocations: 0.7257 MB / 0.5274 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4357, allocations: 0.7703 MB / 0.5281 GB, free: 28.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.4358, allocations: 38.73 kB / 0.5282 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4359, allocations: 32.12 kB / 0.5282 GB, free: 28.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4359, allocations: 0 / 0.5282 GB, free: 28.65 MB / 378.7 MB Notification: Performance of Templates: time 0.006571/0.4424, allocations: 3.076 MB / 0.5312 GB, free: 28.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches