Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 109.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 185.9 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.246/0.246, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.14 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2857, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003576/0.2893, allocations: 3.339 MB / 0.5228 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2915, allocations: 1.549 MB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.2918, allocations: 21.78 kB / 0.5244 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.2922, allocations: 138 kB / 0.5245 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.2927, allocations: 208.7 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2938, allocations: 0.519 MB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.2948, allocations: 0.9266 MB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.2952, allocations: 234.8 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.2957, allocations: 362 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.2962, allocations: 401 kB / 0.5271 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2964, allocations: 62.31 kB / 0.5271 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2965, allocations: 64.28 kB / 0.5272 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.2967, allocations: 204.4 kB / 0.5274 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.297, allocations: 346 kB / 0.5277 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.2977, allocations: 0.7832 MB / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2977, allocations: 0 / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2977, allocations: 0 / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2977, allocations: 1.375 kB / 0.5285 GB, free: 13.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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002196/0.2999, allocations: 1.158 MB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3, allocations: 12.83 kB / 0.5296 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3001, allocations: 89.09 kB / 0.5297 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.3011, allocations: 0.5815 MB / 0.5303 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.3011, allocations: 37.12 kB / 0.5303 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.3012, allocations: 56.16 kB / 0.5303 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3023, allocations: 0.6079 MB / 0.5309 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3024, allocations: 5.156 kB / 0.5309 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.3024, allocations: 25.28 kB / 0.531 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3024, allocations: 11.09 kB / 0.531 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3036, allocations: 469.2 kB / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.3071, allocations: 2.64 MB / 0.534 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3082, allocations: 0.547 MB / 0.5345 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.3088, allocations: 249.2 kB / 0.5348 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.3088, allocations: 5.375 kB / 0.5348 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3089, allocations: 45.75 kB / 0.5348 GB, free: 8.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.3089, allocations: 0 / 0.5348 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002425/0.3113, allocations: 1.135 MB / 0.5359 GB, free: 8.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3114, allocations: 138.1 kB / 0.5361 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.3122, allocations: 0.6457 MB / 0.5367 GB, free: 7.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3123, allocations: 36.17 kB / 0.5367 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3125, allocations: 361.1 kB / 0.5371 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.3127, allocations: 178 kB / 0.5372 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3129, allocations: 114.6 kB / 0.5374 GB, free: 7.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.313, allocations: 335.2 kB / 0.5377 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.3136, allocations: 271.1 kB / 0.5379 GB, free: 6.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.3143, allocations: 432.6 kB / 0.5383 GB, free: 6.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3157, allocations: 0.6722 MB / 0.539 GB, free: 5.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3157, allocations: 1.062 kB / 0.539 GB, free: 5.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001626/0.3173, allocations: 0.7987 MB / 0.5398 GB, free: 5.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3173, allocations: 9.875 kB / 0.5398 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3174, allocations: 5.594 kB / 0.5398 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3174, allocations: 7.672 kB / 0.5398 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.3181, allocations: 159.2 kB / 0.54 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.3181, allocations: 12.38 kB / 0.54 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.3186, allocations: 77.53 kB / 0.54 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.3187, allocations: 22.12 kB / 0.5401 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007465/0.3194, allocations: 416.5 kB / 0.5405 GB, free: 5.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006557/0.3201, allocations: 409.3 kB / 0.5409 GB, free: 4.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/0.3213, allocations: 0.6557 MB / 0.5415 GB, free: 4.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.3213, allocations: 6.438 kB / 0.5415 GB, free: 4.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001495/0.3228, allocations: 0.7696 MB / 0.5423 GB, free: 4.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3228, allocations: 7.219 kB / 0.5423 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3228, allocations: 4.531 kB / 0.5423 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.3229, allocations: 7.906 kB / 0.5423 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.3235, allocations: 154 kB / 0.5424 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3235, allocations: 11.98 kB / 0.5424 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.324, allocations: 75.58 kB / 0.5425 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.3241, allocations: 24 kB / 0.5425 GB, free: 3.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001641/0.3242, allocations: 220 kB / 0.5427 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3244, allocations: 79.06 kB / 0.5428 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.3246, allocations: 98.14 kB / 0.5429 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3246, allocations: 3.984 kB / 0.5429 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3246, allocations: 3.938 kB / 0.5429 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.3248, allocations: 188.1 kB / 0.5431 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.3249, allocations: 12 kB / 0.5431 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.3255, allocations: 51.94 kB / 0.5431 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3256, allocations: 39.94 kB / 0.5432 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002592/0.3282, allocations: 1.018 MB / 0.5442 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002044/0.3303, allocations: 1.282 MB / 0.5454 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005889/0.3309, allocations: 280.8 kB / 0.5457 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.3315, allocations: 463 kB / 0.5461 GB, free: 176 kB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3315, allocations: 4 kB / 0.5461 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.3335, allocations: 0.816 MB / 0.5469 GB, free: 15.35 MB / 414.1 MB Notification: Performance of SimCode: time 0.002297/0.3358, allocations: 1.913 MB / 0.5488 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.0179/0.3537, allocations: 12.01 MB / 0.5605 GB, free: 1.461 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches