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.001533/0.001533, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008816/0.0008816, allocations: 97.03 kB / 270.9 MB, free: 8.355 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.4082/0.4082, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004739, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004063/0.1554, allocations: 2.835 MB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.159, allocations: 1.513 MB / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.1595, allocations: 19.88 kB / 494.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.16, allocations: 111.2 kB / 494.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.1605, allocations: 155 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1616, allocations: 415.3 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.1625, allocations: 0.7833 MB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1629, allocations: 185 kB / 496.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.1633, allocations: 302.5 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1637, allocations: 322.3 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.1638, allocations: 24 kB / 496.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.656e-05/0.1638, allocations: 20 kB / 496.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.164, allocations: 147.4 kB / 497 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1642, allocations: 133.3 kB / 497.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.1647, allocations: 0.53 MB / 497.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1647, allocations: 0 / 497.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1647, allocations: 7.938 kB / 497.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1647, allocations: 4 kB / 497.7 MB, free: 3.684 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.002162/0.1669, allocations: 1.059 MB / 498.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.167, allocations: 12.02 kB / 498.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1671, allocations: 94.83 kB / 498.9 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.168, allocations: 0.5304 MB / 499.4 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.1681, allocations: 37 kB / 499.4 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/0.1682, allocations: 55.98 kB / 499.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.1694, allocations: 0.6213 MB / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.1694, allocations: 7.922 kB / 0.4884 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.1695, allocations: 20 kB / 0.4884 GB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.1695, allocations: 12 kB / 0.4884 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1707, allocations: 0.4899 MB / 0.4889 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.29/0.4606, allocations: 2.654 MB / 0.4915 GB, free: 41.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.462, allocations: 0.5765 MB / 0.4921 GB, free: 41.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.4627, allocations: 274.6 kB / 0.4923 GB, free: 41.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.4627, allocations: 5.828 kB / 0.4923 GB, free: 41.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4628, allocations: 45.92 kB / 0.4924 GB, free: 41.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.516e-06/0.4628, allocations: 0 / 0.4924 GB, free: 41.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002913/0.4657, allocations: 1.203 MB / 0.4935 GB, free: 41.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4658, allocations: 134.8 kB / 0.4937 GB, free: 40.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.4668, allocations: 0.6572 MB / 0.4943 GB, free: 40.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4669, allocations: 33.48 kB / 0.4943 GB, free: 40.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.4672, allocations: 368.4 kB / 0.4947 GB, free: 40.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4673, allocations: 168.4 kB / 0.4949 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.4674, allocations: 11.66 kB / 0.4949 GB, free: 40.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4675, allocations: 330.6 kB / 0.4952 GB, free: 40.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.4683, allocations: 281.8 kB / 0.4955 GB, free: 40.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.4691, allocations: 439.8 kB / 0.4959 GB, free: 40.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.4699, allocations: 326.4 kB / 0.4962 GB, free: 40.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4699, allocations: 1.375 kB / 0.4962 GB, free: 40.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001829/0.4717, allocations: 0.8619 MB / 0.497 GB, free: 39.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4718, allocations: 216.1 kB / 0.4972 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4718, allocations: 9.062 kB / 0.4972 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.4721, allocations: 58.98 kB / 0.4973 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.4731, allocations: 203.5 kB / 0.4975 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.4745, allocations: 1.501 MB / 0.499 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.4751, allocations: 93.69 kB / 0.4991 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.4751, allocations: 22.09 kB / 0.4991 GB, free: 38.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.4751, allocations: 2.938 kB / 0.4991 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.4767, allocations: 0.7478 MB / 0.4998 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4767, allocations: 4.875 kB / 0.4998 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.4769, allocations: 59.16 kB / 0.4999 GB, free: 38.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.4777, allocations: 198.1 kB / 0.5001 GB, free: 38.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4788, allocations: 1.505 MB / 0.5015 GB, free: 36.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.4793, allocations: 85.39 kB / 0.5016 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.4793, allocations: 27.27 kB / 0.5016 GB, free: 36.96 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.0003646/0.4797, allocations: 298.2 kB / 0.5019 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.4799, allocations: 73.69 kB / 0.502 GB, free: 36.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.48, allocations: 87.06 kB / 0.5021 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.48, allocations: 5.75 kB / 0.5021 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.48, allocations: 0 / 0.5021 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.48, allocations: 10.31 kB / 0.5021 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.4813, allocations: 0.8606 MB / 0.5029 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4813, allocations: 0 / 0.5029 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.482, allocations: 122.4 kB / 0.503 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.482, allocations: 2.469 kB / 0.503 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.482, allocations: 13.16 kB / 0.5031 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.482, allocations: 3.375 kB / 0.5031 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.482, allocations: 3.469 kB / 0.5031 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.484, allocations: 1.195 MB / 0.5042 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.4843, allocations: 197.5 kB / 0.5044 GB, free: 35.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.4844, allocations: 17.94 kB / 0.5044 GB, free: 35.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.4849, allocations: 57.3 kB / 0.5045 GB, free: 35.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.485, allocations: 49.83 kB / 0.5045 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4851, allocations: 16.7 kB / 0.5046 GB, free: 35.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006079/0.4857, allocations: 456.4 kB / 0.505 GB, free: 35.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4857, allocations: 0 / 0.505 GB, free: 35.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008996/0.4866, allocations: 199.1 kB / 0.5052 GB, free: 35.1 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.0001459/0.4867, allocations: 112.8 kB / 0.5053 GB, free: 35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.4894, allocations: 1.248 MB / 0.5065 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4894, allocations: 3.391 kB / 0.5065 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.49, allocations: 298.2 kB / 0.5068 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4911, allocations: 180.8 kB / 0.507 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4935, allocations: 1.77 MB / 0.5087 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4939, allocations: 0.952 MB / 0.5096 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4941, allocations: 55.92 kB / 0.5097 GB, free: 32.64 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4941, allocations: 0 / 0.5097 GB, free: 32.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01259/0.5067, allocations: 10.01 MB / 0.5195 GB, free: 31.79 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/jenkins/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