Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.00116, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 75.88 kB / 481.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3976, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004395/0.402, allocations: 1.948 MB / 0.5329 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.404, allocations: 1.062 MB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4041, allocations: 2.625 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.4045, allocations: 45 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.4048, allocations: 93.91 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.4051, allocations: 98.8 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.4053, allocations: 140.4 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.4055, allocations: 35.03 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.4056, allocations: 56.75 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.4057, allocations: 53.66 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4058, allocations: 6.719 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4059, allocations: 51.06 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.406, allocations: 22.58 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.406, allocations: 52.08 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.4063, allocations: 160.9 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4063, allocations: 0 / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4064, allocations: 0 / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4064, allocations: 0 / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007325/0.4071, allocations: 480 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4072, allocations: 9.375 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.4072, allocations: 20.77 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.4076, allocations: 243.7 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4076, allocations: 7.125 kB / 0.5355 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.4077, allocations: 8.25 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.4079, allocations: 108.2 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.408, allocations: 1.375 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.408, allocations: 0 / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.408, allocations: 6.734 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.4081, allocations: 54.03 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.4088, allocations: 0.5036 MB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.4091, allocations: 88.66 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.4092, allocations: 35.44 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4093, allocations: 1.5 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4095, allocations: 93.3 kB / 0.5364 GB, free: 9.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4095, allocations: 0 / 0.5364 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004259/0.4099, allocations: 147.4 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.41, allocations: 56.5 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4102, allocations: 195.3 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4102, allocations: 26.8 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.4103, allocations: 119.4 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.4103, allocations: 39.69 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.4104, allocations: 30.55 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4105, allocations: 326.1 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.4106, allocations: 27.89 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.4108, allocations: 68.48 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.411, allocations: 96.84 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.411, allocations: 0.7812 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/0.4113, allocations: 138.2 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4113, allocations: 8.25 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4113, allocations: 1.062 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4113, allocations: 10.95 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4115, allocations: 21.91 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4115, allocations: 6.312 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.4116, allocations: 12.52 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4116, allocations: 4.719 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001227/0.4117, allocations: 138.6 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4118, allocations: 18.27 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.4118, allocations: 14.59 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4118, allocations: 9.125 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4118, allocations: 0 / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4118, allocations: 0 / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.412, allocations: 215.6 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.412, allocations: 0 / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.4121, allocations: 9.188 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4121, allocations: 0.7812 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4122, allocations: 5.125 kB / 0.538 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4122, allocations: 5.312 kB / 0.538 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4122, allocations: 0 / 0.538 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.4126, allocations: 189.2 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4127, allocations: 85.02 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4127, allocations: 0.5 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.4127, allocations: 12.45 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.4128, allocations: 7.688 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4128, allocations: 6.234 kB / 0.5383 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.413, allocations: 149.9 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.413, allocations: 1 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.4132, allocations: 27.22 kB / 0.5385 GB, free: 7.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009523/0.4142, allocations: 404 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.4145, allocations: 87.14 kB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4145, allocations: 0 / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4146, allocations: 39.11 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4149, allocations: 47.94 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.4154, allocations: 265.3 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.4157, allocations: 0.7152 MB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.4158, allocations: 24.38 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.4159, allocations: 15.69 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4159, allocations: 0 / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.005596/0.4215, allocations: 1.927 MB / 0.5419 GB, free: 5.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches