Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 110.1 kB / 18.45 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.001216/0.001216, allocations: 188.3 kB / 19.39 MB, free: 3.668 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.257/1.257, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1864/0.1864, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003978/0.2878, allocations: 3.363 MB / 0.5229 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.2905, allocations: 1.534 MB / 0.5244 GB, free: 124 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.2911, allocations: 21.59 kB / 0.5244 GB, free: 116 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.2916, allocations: 149 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.2923, allocations: 197.7 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2937, allocations: 0.534 MB / 0.5252 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.295, allocations: 0.902 MB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.2954, allocations: 236.2 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.296, allocations: 359 kB / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.2967, allocations: 410.3 kB / 0.5271 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.2968, allocations: 60.25 kB / 0.5271 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.297, allocations: 63.38 kB / 0.5272 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.2972, allocations: 197.9 kB / 0.5274 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.2975, allocations: 350.3 kB / 0.5277 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.2984, allocations: 0.7802 MB / 0.5285 GB, free: 13.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2984, allocations: 1.406 kB / 0.5285 GB, free: 13.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2984, allocations: 0 / 0.5285 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.2984, allocations: 0 / 0.5285 GB, free: 13.69 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.002328/0.3008, allocations: 1.182 MB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3008, allocations: 9 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.301, allocations: 96.98 kB / 0.5297 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.302, allocations: 0.5858 MB / 0.5303 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.302, allocations: 41.22 kB / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.3021, allocations: 59.97 kB / 0.5304 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3032, allocations: 0.611 MB / 0.531 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3032, allocations: 2.375 kB / 0.531 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.3033, allocations: 21.38 kB / 0.531 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.3033, allocations: 11.12 kB / 0.531 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3043, allocations: 462.1 kB / 0.5315 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.3077, allocations: 2.613 MB / 0.534 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3087, allocations: 0.5501 MB / 0.5346 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.3092, allocations: 250.6 kB / 0.5348 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.3093, allocations: 8.875 kB / 0.5348 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3093, allocations: 40.98 kB / 0.5349 GB, free: 8.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.3093, allocations: 1.094 kB / 0.5349 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002297/0.3116, allocations: 1.164 MB / 0.536 GB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3117, allocations: 133 kB / 0.5361 GB, free: 8.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.3125, allocations: 0.6492 MB / 0.5367 GB, free: 7.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.3125, allocations: 36.36 kB / 0.5368 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.3128, allocations: 370.3 kB / 0.5371 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.3129, allocations: 178 kB / 0.5373 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.3131, allocations: 122.8 kB / 0.5374 GB, free: 7.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.3132, allocations: 327.3 kB / 0.5377 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.3138, allocations: 267 kB / 0.538 GB, free: 6.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.3144, allocations: 420.1 kB / 0.5384 GB, free: 6.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.3157, allocations: 0.6731 MB / 0.539 GB, free: 5.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3157, allocations: 5.312 kB / 0.5391 GB, free: 5.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001618/0.3173, allocations: 0.8181 MB / 0.5399 GB, free: 5.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3173, allocations: 7 kB / 0.5399 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3173, allocations: 5.625 kB / 0.5399 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.3176, allocations: 66.66 kB / 0.5399 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.3184, allocations: 200 kB / 0.5401 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3197, allocations: 1.604 MB / 0.5417 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.3202, allocations: 81.55 kB / 0.5418 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.3203, allocations: 30.14 kB / 0.5418 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006932/0.321, allocations: 400.6 kB / 0.5422 GB, free: 3.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006958/0.3217, allocations: 416.4 kB / 0.5426 GB, free: 3.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.3228, allocations: 0.638 MB / 0.5432 GB, free: 2.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.3229, allocations: 1.156 kB / 0.5432 GB, free: 2.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001508/0.3244, allocations: 0.8072 MB / 0.544 GB, free: 2.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3244, allocations: 4 kB / 0.544 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3244, allocations: 4 kB / 0.544 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.3246, allocations: 60.81 kB / 0.544 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.3254, allocations: 188.2 kB / 0.5442 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.3266, allocations: 1.617 MB / 0.5458 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.3271, allocations: 71.72 kB / 0.5459 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.3271, allocations: 28.09 kB / 0.5459 GB, free: 164 kB / 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.3273, allocations: 220 kB / 0.5461 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3275, allocations: 83.42 kB / 0.5462 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.3276, allocations: 90.2 kB / 0.5463 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3277, allocations: 0 / 0.5463 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3277, allocations: 0 / 0.5463 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3279, allocations: 200.4 kB / 0.5465 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.328, allocations: 16 kB / 0.5465 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.3285, allocations: 51.94 kB / 0.5465 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3286, allocations: 35.89 kB / 0.5466 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002424/0.3311, allocations: 1.025 MB / 0.5476 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001912/0.333, allocations: 1.28 MB / 0.5488 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000568/0.3336, allocations: 284.7 kB / 0.5491 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006024/0.3342, allocations: 467 kB / 0.5495 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.3342, allocations: 0 / 0.5495 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.3365, allocations: 1.055 MB / 0.5506 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 0.002251/0.3387, allocations: 1.952 MB / 0.5525 GB, free: 9.301 MB / 414.1 MB Notification: Performance of Templates: time 0.02129/0.36, allocations: 12.22 MB / 0.5644 GB, free: 13.17 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches