Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.001581, allocations: 180.3 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.774/1.774, allocations: 205.4 MB / 222.5 MB, free: 9.039 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.0008705/0.0008708, allocations: 89.27 kB / 270.9 MB, free: 8.352 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.3934/0.3934, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004205, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004436/0.1611, allocations: 2.862 MB / 493.1 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.1647, allocations: 1.513 MB / 494.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.1656, allocations: 19.88 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.1664, allocations: 115.2 kB / 494.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008621/0.1673, allocations: 155 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1688, allocations: 407.3 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1703, allocations: 0.834 MB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.1709, allocations: 185.1 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007435/0.1716, allocations: 298.5 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.1724, allocations: 338.3 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.1726, allocations: 24 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.173, allocations: 127.7 kB / 497.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.1732, allocations: 143.4 kB / 497.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1735, allocations: 137.2 kB / 497.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000815/0.1743, allocations: 0.6197 MB / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1743, allocations: 0 / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.48e-06/0.1743, allocations: 0 / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.1744, allocations: 3.938 kB / 498 MB, free: 3.184 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.002872/0.1773, allocations: 1.078 MB / 499.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1773, allocations: 8.031 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.1777, allocations: 98.83 kB / 499.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1792, allocations: 0.5343 MB / 499.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.1793, allocations: 37 kB / 499.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.1794, allocations: 59.98 kB / 499.8 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1808, allocations: 0.6174 MB / 0.4887 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.1809, allocations: 7.938 kB / 0.4887 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.1809, allocations: 23.94 kB / 0.4887 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1809, allocations: 12 kB / 0.4887 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1822, allocations: 0.4939 MB / 0.4892 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2501/0.4322, allocations: 2.672 MB / 0.4918 GB, free: 41.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4335, allocations: 0.5351 MB / 0.4923 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.4341, allocations: 295.8 kB / 0.4926 GB, free: 41.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.4342, allocations: 4.969 kB / 0.4926 GB, free: 41.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4342, allocations: 39.25 kB / 0.4927 GB, free: 41.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.4342, allocations: 1.531 kB / 0.4927 GB, free: 41.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.002716/0.437, allocations: 1.22 MB / 0.4938 GB, free: 41.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.437, allocations: 134.3 kB / 0.494 GB, free: 40.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.438, allocations: 0.6486 MB / 0.4946 GB, free: 40.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.4381, allocations: 36.02 kB / 0.4946 GB, free: 40.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.4383, allocations: 362.7 kB / 0.495 GB, free: 40.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.4385, allocations: 182.8 kB / 0.4952 GB, free: 40.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.4385, allocations: 11.09 kB / 0.4952 GB, free: 40.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.4386, allocations: 334.6 kB / 0.4955 GB, free: 40.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.4394, allocations: 299.3 kB / 0.4958 GB, free: 40.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.4401, allocations: 459.3 kB / 0.4962 GB, free: 40.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.4408, allocations: 340.7 kB / 0.4965 GB, free: 40 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4408, allocations: 1.5 kB / 0.4965 GB, free: 40 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001821/0.4427, allocations: 0.8666 MB / 0.4974 GB, free: 39.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.4428, allocations: 221.4 kB / 0.4976 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4428, allocations: 4.5 kB / 0.4976 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.4428, allocations: 9.516 kB / 0.4976 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.4438, allocations: 213.3 kB / 0.4978 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.4438, allocations: 7.75 kB / 0.4978 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.4444, allocations: 91.97 kB / 0.4979 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.4444, allocations: 27.69 kB / 0.4979 GB, free: 39.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.4444, allocations: 4.125 kB / 0.4979 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/0.4459, allocations: 0.7387 MB / 0.4987 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4459, allocations: 5.812 kB / 0.4987 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-06/0.4459, allocations: 9.812 kB / 0.4987 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.4467, allocations: 200.5 kB / 0.4989 GB, free: 39.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4467, allocations: 14.55 kB / 0.4989 GB, free: 39.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.4472, allocations: 85.91 kB / 0.499 GB, free: 39.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.4472, allocations: 29.28 kB / 0.499 GB, free: 39.46 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0002864/0.4475, allocations: 290.4 kB / 0.4993 GB, free: 39.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4477, allocations: 84.73 kB / 0.4994 GB, free: 39.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.4478, allocations: 88.62 kB / 0.4994 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4478, allocations: 8.516 kB / 0.4994 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.4478, allocations: 3.094 kB / 0.4994 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4478, allocations: 3.234 kB / 0.4995 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.4496, allocations: 1.292 MB / 0.5007 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4496, allocations: 0 / 0.5007 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.4502, allocations: 117.4 kB / 0.5008 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4503, allocations: 3.094 kB / 0.5008 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4503, allocations: 21.34 kB / 0.5008 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4503, allocations: 2.781 kB / 0.5009 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4503, allocations: 2.688 kB / 0.5009 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4521, allocations: 1.236 MB / 0.5021 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.4523, allocations: 195.2 kB / 0.5022 GB, free: 37.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.4524, allocations: 17.8 kB / 0.5023 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.4529, allocations: 60.8 kB / 0.5023 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4531, allocations: 44.02 kB / 0.5024 GB, free: 37.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.4531, allocations: 9.656 kB / 0.5024 GB, free: 37.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006172/0.4537, allocations: 464.2 kB / 0.5028 GB, free: 37.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4537, allocations: 0 / 0.5028 GB, free: 37.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007976/0.4545, allocations: 221.7 kB / 0.503 GB, free: 37.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.0002816/0.4548, allocations: 140.6 kB / 0.5032 GB, free: 37.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.457, allocations: 1.056 MB / 0.5042 GB, free: 36.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.457, allocations: 0 / 0.5042 GB, free: 36.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.4576, allocations: 319.6 kB / 0.5045 GB, free: 36.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4586, allocations: 183.6 kB / 0.5047 GB, free: 36.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.4609, allocations: 1.774 MB / 0.5064 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4613, allocations: 0.9473 MB / 0.5073 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4615, allocations: 48.73 kB / 0.5074 GB, free: 35.12 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4615, allocations: 0 / 0.5074 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01121/0.4727, allocations: 9.057 MB / 0.5162 GB, free: 34.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches