Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 110.6 kB / 18.46 MB, free: 4.594 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.001374/0.001374, allocations: 183.1 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.296/1.296, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1965/0.1965, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003824/0.2968, allocations: 3.377 MB / 0.5229 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.2992, allocations: 1.549 MB / 0.5244 GB, free: 116 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.2995, allocations: 21.75 kB / 0.5244 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.3, allocations: 142.8 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.3005, allocations: 200.8 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3017, allocations: 0.5308 MB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3027, allocations: 0.9573 MB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.3031, allocations: 230.1 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.3035, allocations: 368.5 kB / 0.5268 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.304, allocations: 410.6 kB / 0.5272 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3041, allocations: 65.75 kB / 0.5272 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.3044, allocations: 176.6 kB / 0.5274 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3046, allocations: 200.5 kB / 0.5276 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.3049, allocations: 351.3 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008787/0.3058, allocations: 0.9071 MB / 0.5288 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3058, allocations: 1.375 kB / 0.5288 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3058, allocations: 0 / 0.5288 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3059, allocations: 0 / 0.5288 GB, free: 13.5 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.002236/0.3081, allocations: 1.161 MB / 0.5299 GB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3082, allocations: 9.594 kB / 0.5299 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3083, allocations: 87.94 kB / 0.53 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/0.3092, allocations: 0.5895 MB / 0.5306 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.3093, allocations: 37.78 kB / 0.5306 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.3094, allocations: 58.72 kB / 0.5307 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3105, allocations: 0.6082 MB / 0.5313 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3106, allocations: 5.25 kB / 0.5313 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.3106, allocations: 24.94 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3106, allocations: 11.28 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3118, allocations: 469.5 kB / 0.5318 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.3153, allocations: 2.637 MB / 0.5343 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3164, allocations: 0.5156 MB / 0.5349 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.317, allocations: 257.1 kB / 0.5351 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.317, allocations: 9.891 kB / 0.5351 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3171, allocations: 45.03 kB / 0.5351 GB, free: 8.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.954e-06/0.3171, allocations: 0 / 0.5351 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.00253/0.3196, allocations: 1.139 MB / 0.5363 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.3197, allocations: 137.2 kB / 0.5364 GB, free: 7.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.3206, allocations: 0.6496 MB / 0.537 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.3206, allocations: 35.8 kB / 0.5371 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.3209, allocations: 361.5 kB / 0.5374 GB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3211, allocations: 183.2 kB / 0.5376 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.3213, allocations: 119.6 kB / 0.5377 GB, free: 6.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3214, allocations: 331.6 kB / 0.538 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.322, allocations: 289.5 kB / 0.5383 GB, free: 6.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.3228, allocations: 433.8 kB / 0.5387 GB, free: 6.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.3242, allocations: 0.726 MB / 0.5394 GB, free: 5.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3242, allocations: 5.219 kB / 0.5394 GB, free: 5.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001685/0.3259, allocations: 0.814 MB / 0.5402 GB, free: 5.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3259, allocations: 6.812 kB / 0.5402 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3259, allocations: 4.594 kB / 0.5402 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.326, allocations: 12.5 kB / 0.5402 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.3269, allocations: 198.8 kB / 0.5404 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3269, allocations: 11.83 kB / 0.5404 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.3275, allocations: 77.05 kB / 0.5405 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.3275, allocations: 31.89 kB / 0.5405 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007697/0.3283, allocations: 417.3 kB / 0.5409 GB, free: 4.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006973/0.329, allocations: 431 kB / 0.5413 GB, free: 4.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.3303, allocations: 0.6911 MB / 0.542 GB, free: 4.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.3303, allocations: 0.9062 kB / 0.542 GB, free: 4.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001545/0.3319, allocations: 0.7981 MB / 0.5428 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3319, allocations: 10.81 kB / 0.5428 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3319, allocations: 4 kB / 0.5428 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.3319, allocations: 8 kB / 0.5428 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.3327, allocations: 187.8 kB / 0.543 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3328, allocations: 11.94 kB / 0.543 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.3333, allocations: 91.53 kB / 0.5431 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.3333, allocations: 24 kB / 0.5431 GB, free: 3.293 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001818/0.3335, allocations: 212.1 kB / 0.5433 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3337, allocations: 75.06 kB / 0.5434 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3339, allocations: 94.89 kB / 0.5435 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3339, allocations: 0 / 0.5435 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3339, allocations: 11.92 kB / 0.5435 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3342, allocations: 196.1 kB / 0.5437 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.3343, allocations: 12 kB / 0.5437 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.3349, allocations: 51.98 kB / 0.5437 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.335, allocations: 43.86 kB / 0.5438 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002677/0.3377, allocations: 1.03 MB / 0.5448 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002139/0.3398, allocations: 1.297 MB / 0.5461 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006318/0.3405, allocations: 296.9 kB / 0.5463 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006271/0.3411, allocations: 459 kB / 0.5468 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Backend: time 5.51e-07/0.3411, allocations: 0 / 0.5468 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3434, allocations: 0.87 MB / 0.5476 GB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 0.002403/0.3458, allocations: 1.917 MB / 0.5495 GB, free: 12.65 MB / 414.1 MB Notification: Performance of Templates: time 0.01989/0.3657, allocations: 12.67 MB / 0.5619 GB, free: 52 kB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches