Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002452/0.002452, allocations: 182.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 92.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5415/0.5415, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007471, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1351, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005017/0.1402, allocations: 2.843 MB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.1445, allocations: 1.494 MB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.1451, allocations: 19.88 kB / 494.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.1456, allocations: 99.27 kB / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.1464, allocations: 183.4 kB / 494.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.1482, allocations: 427.2 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1498, allocations: 0.5617 MB / 495.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.1503, allocations: 181.1 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.1511, allocations: 314.6 kB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006233/0.1517, allocations: 326.4 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1519, allocations: 20 kB / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.152, allocations: 20 kB / 496.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.1523, allocations: 147.4 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1524, allocations: 133.3 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.1533, allocations: 0.5339 MB / 497.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1533, allocations: 3.938 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1533, allocations: 4 kB / 497.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1533, allocations: 0 / 497.5 MB, free: 3.898 MB / 378.7 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.003546/0.1569, allocations: 1.055 MB / 498.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.157, allocations: 8.031 kB / 498.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.1572, allocations: 94.83 kB / 498.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.1588, allocations: 0.5382 MB / 499.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.1588, allocations: 37 kB / 499.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.159, allocations: 52 kB / 499.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.1609, allocations: 0.6252 MB / 499.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.161, allocations: 7.984 kB / 499.9 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.161, allocations: 16 kB / 499.9 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.1611, allocations: 12 kB / 499.9 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.1631, allocations: 0.4977 MB / 0.4887 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3254/0.4886, allocations: 2.638 MB / 0.4913 GB, free: 41.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.491, allocations: 0.5854 MB / 0.4918 GB, free: 41.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.194e-05/0.4911, allocations: 5.828 kB / 0.4918 GB, free: 41.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4912, allocations: 41.03 kB / 0.4919 GB, free: 41.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 4.859e-06/0.4912, allocations: 0 / 0.4919 GB, free: 41.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.004891/0.4961, allocations: 1.211 MB / 0.4931 GB, free: 40.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.4962, allocations: 134.6 kB / 0.4932 GB, free: 40.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.4979, allocations: 0.6493 MB / 0.4938 GB, free: 40.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.4981, allocations: 38.27 kB / 0.4939 GB, free: 40.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4984, allocations: 384.7 kB / 0.4942 GB, free: 40.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.4987, allocations: 168 kB / 0.4944 GB, free: 40.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.4987, allocations: 15.16 kB / 0.4944 GB, free: 40.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.4988, allocations: 333.5 kB / 0.4947 GB, free: 40.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.5001, allocations: 276.2 kB / 0.495 GB, free: 40.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.5015, allocations: 440.9 kB / 0.4954 GB, free: 39.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.503, allocations: 321.9 kB / 0.4957 GB, free: 39.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.503, allocations: 8.047 kB / 0.4957 GB, free: 39.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003197/0.5062, allocations: 0.8038 MB / 0.4965 GB, free: 39.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003751/0.5066, allocations: 1.747 MB / 0.4982 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5067, allocations: 4.688 kB / 0.4982 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.5071, allocations: 58.98 kB / 0.4983 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.5089, allocations: 206.8 kB / 0.4985 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.5107, allocations: 1.513 MB / 0.5 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5119, allocations: 92.16 kB / 0.5 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.512, allocations: 26.11 kB / 0.5001 GB, free: 36.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.512, allocations: 7.734 kB / 0.5001 GB, free: 36.6 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/0.515, allocations: 0.7379 MB / 0.5008 GB, free: 36.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.5151, allocations: 6.016 kB / 0.5008 GB, free: 36.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.5153, allocations: 57.48 kB / 0.5009 GB, free: 36.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.517, allocations: 202.6 kB / 0.501 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.5171, allocations: 10.48 kB / 0.5011 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.5178, allocations: 73.95 kB / 0.5011 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.5179, allocations: 22.38 kB / 0.5011 GB, free: 36.5 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005966/0.5185, allocations: 293.4 kB / 0.5014 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.5188, allocations: 76.59 kB / 0.5015 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.519, allocations: 91.44 kB / 0.5016 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.519, allocations: 5.75 kB / 0.5016 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.519, allocations: 0 / 0.5016 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.519, allocations: 6.312 kB / 0.5016 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.5211, allocations: 0.8665 MB / 0.5024 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5211, allocations: 0 / 0.5024 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.5224, allocations: 117.5 kB / 0.5026 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.5225, allocations: 3.703 kB / 0.5026 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.5226, allocations: 16.16 kB / 0.5026 GB, free: 35.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.006e-06/0.5226, allocations: 6.625 kB / 0.5026 GB, free: 35.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5226, allocations: 3.188 kB / 0.5026 GB, free: 35.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.526, allocations: 1.223 MB / 0.5038 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.5265, allocations: 198.7 kB / 0.504 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.5266, allocations: 21.08 kB / 0.504 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.5276, allocations: 59.11 kB / 0.504 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5278, allocations: 42.97 kB / 0.5041 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.5279, allocations: 18.02 kB / 0.5041 GB, free: 35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009717/0.5288, allocations: 461.2 kB / 0.5045 GB, free: 34.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5289, allocations: 0 / 0.5045 GB, free: 34.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001325/0.5302, allocations: 192.8 kB / 0.5047 GB, free: 34.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.5304, allocations: 116.3 kB / 0.5048 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00414/0.5346, allocations: 1.219 MB / 0.506 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5346, allocations: 0 / 0.506 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5358, allocations: 304.8 kB / 0.5063 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5374, allocations: 165.2 kB / 0.5065 GB, free: 34.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.5417, allocations: 1.773 MB / 0.5082 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.5423, allocations: 0.9673 MB / 0.5092 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.5427, allocations: 53.11 kB / 0.5092 GB, free: 32.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5427, allocations: 0 / 0.5092 GB, free: 32.35 MB / 378.7 MB Notification: Performance of Templates: time 0.0233/0.5661, allocations: 9.709 MB / 0.5187 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches