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.0009686/0.0009687, allocations: 113.9 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.0009694/0.0009694, allocations: 182.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.311/1.311, allocations: 222.9 MB / 243.1 MB, free: 15.13 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.1949/0.1949, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2852, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003968/0.2892, allocations: 3.35 MB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.2918, allocations: 1.542 MB / 0.5244 GB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.2921, allocations: 22.78 kB / 0.5244 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.2926, allocations: 141.3 kB / 0.5245 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.2931, allocations: 208.5 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2944, allocations: 0.5273 MB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2955, allocations: 0.9045 MB / 0.5261 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.2959, allocations: 230.6 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.2964, allocations: 368.8 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.2969, allocations: 398 kB / 0.5271 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.297, allocations: 61.88 kB / 0.5271 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2971, allocations: 63.25 kB / 0.5272 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.2973, allocations: 204.6 kB / 0.5274 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2976, allocations: 342.6 kB / 0.5277 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.2984, allocations: 0.7785 MB / 0.5285 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2985, allocations: 0 / 0.5285 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2985, allocations: 4 kB / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2985, allocations: 1.406 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.002195/0.3007, allocations: 1.157 MB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3007, allocations: 9.406 kB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.3009, allocations: 88.44 kB / 0.5297 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.3018, allocations: 0.5817 MB / 0.5303 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.3019, allocations: 37.12 kB / 0.5303 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.302, allocations: 59.95 kB / 0.5304 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3031, allocations: 0.6078 MB / 0.5309 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.3031, allocations: 12.84 kB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.3032, allocations: 21.66 kB / 0.531 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3032, allocations: 10.69 kB / 0.531 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3043, allocations: 467 kB / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.3077, allocations: 2.612 MB / 0.534 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3088, allocations: 0.5429 MB / 0.5345 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.3094, allocations: 261.4 kB / 0.5348 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3094, allocations: 3.656 kB / 0.5348 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3094, allocations: 50.52 kB / 0.5348 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.3094, allocations: 0 / 0.5348 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002506/0.312, allocations: 1.129 MB / 0.5359 GB, free: 8.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.312, allocations: 137.1 kB / 0.5361 GB, free: 8.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.3129, allocations: 0.653 MB / 0.5367 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.3129, allocations: 37.11 kB / 0.5367 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.3132, allocations: 356.9 kB / 0.5371 GB, free: 7.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3134, allocations: 178.2 kB / 0.5372 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3135, allocations: 106.3 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3137, allocations: 336.5 kB / 0.5377 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/0.3143, allocations: 270.3 kB / 0.5379 GB, free: 6.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.315, allocations: 420.2 kB / 0.5383 GB, free: 6.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.3163, allocations: 0.6676 MB / 0.539 GB, free: 5.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3163, allocations: 2.438 kB / 0.539 GB, free: 5.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001699/0.318, allocations: 0.8188 MB / 0.5398 GB, free: 5.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.318, allocations: 7.656 kB / 0.5398 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3181, allocations: 4.156 kB / 0.5398 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.3183, allocations: 58.84 kB / 0.5398 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.3192, allocations: 201 kB / 0.54 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.3205, allocations: 1.604 MB / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.321, allocations: 81.77 kB / 0.5417 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3211, allocations: 21.84 kB / 0.5417 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007422/0.3218, allocations: 400.9 kB / 0.5421 GB, free: 3.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006593/0.3225, allocations: 417.2 kB / 0.5425 GB, free: 3.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.3237, allocations: 0.6477 MB / 0.5431 GB, free: 2.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.3237, allocations: 1.25 kB / 0.5431 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001548/0.3253, allocations: 0.8061 MB / 0.5439 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.3253, allocations: 4 kB / 0.5439 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3253, allocations: 8 kB / 0.5439 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.3254, allocations: 60.75 kB / 0.544 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.3263, allocations: 183.9 kB / 0.5441 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3275, allocations: 1.605 MB / 0.5457 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.328, allocations: 83.53 kB / 0.5458 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.328, allocations: 27.94 kB / 0.5458 GB, free: 256 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.0001703/0.3282, allocations: 220.1 kB / 0.546 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3284, allocations: 75.14 kB / 0.5461 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.3286, allocations: 94.16 kB / 0.5462 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3286, allocations: 0 / 0.5462 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3286, allocations: 0 / 0.5462 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.3288, allocations: 200 kB / 0.5464 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.3289, allocations: 16 kB / 0.5464 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.3295, allocations: 47.94 kB / 0.5464 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3296, allocations: 39.89 kB / 0.5465 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002647/0.3323, allocations: 1.01 MB / 0.5475 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002035/0.3343, allocations: 1.279 MB / 0.5487 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005912/0.3349, allocations: 288.3 kB / 0.549 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006147/0.3355, allocations: 459 kB / 0.5494 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Backend: time 4.1e-07/0.3355, allocations: 0 / 0.5494 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.338, allocations: 1.06 MB / 0.5505 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 0.002349/0.3404, allocations: 1.921 MB / 0.5523 GB, free: 9.441 MB / 414.1 MB Notification: Performance of Templates: time 0.01998/0.3604, allocations: 12.22 MB / 0.5643 GB, free: 13.3 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