Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.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,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") translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 178.2 kB / 16.41 MB, free: 5.703 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.449/1.449, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009849/0.0009853, allocations: 89.48 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.43/0.43, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004654, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003781/0.1562, allocations: 2.816 MB / 493 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.1594, allocations: 1.509 MB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.1599, allocations: 19.88 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1604, allocations: 111.2 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1608, allocations: 162.9 kB / 494.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1619, allocations: 423.3 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.1628, allocations: 0.7989 MB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.1632, allocations: 181.1 kB / 496.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.1636, allocations: 290.5 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.164, allocations: 330.3 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.1641, allocations: 20 kB / 496.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.1642, allocations: 24 kB / 496.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1643, allocations: 151.4 kB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1644, allocations: 133.3 kB / 497.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.1649, allocations: 0.53 MB / 497.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1649, allocations: 0 / 497.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.165, allocations: 7.938 kB / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.165, allocations: 0 / 497.7 MB, free: 3.457 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.002309/0.1673, allocations: 1.066 MB / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1673, allocations: 8.031 kB / 498.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1675, allocations: 94.83 kB / 498.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.1684, allocations: 0.5383 MB / 499.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.1685, allocations: 37 kB / 499.4 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.1686, allocations: 63.89 kB / 499.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1698, allocations: 0.6174 MB / 0.4884 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1698, allocations: 7.938 kB / 0.4884 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.1698, allocations: 20 kB / 0.4884 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1699, allocations: 12 kB / 0.4884 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.171, allocations: 0.4939 MB / 0.4889 GB, free: 360 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2993/0.4704, allocations: 2.685 MB / 0.4915 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4718, allocations: 0.5765 MB / 0.4921 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.4725, allocations: 275.1 kB / 0.4924 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.4726, allocations: 6.406 kB / 0.4924 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4726, allocations: 41.91 kB / 0.4924 GB, free: 41.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.444e-06/0.4726, allocations: 0 / 0.4924 GB, free: 41.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.003157/0.4758, allocations: 1.209 MB / 0.4936 GB, free: 41.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.4759, allocations: 134.8 kB / 0.4937 GB, free: 40.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.477, allocations: 0.6445 MB / 0.4943 GB, free: 40.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.4771, allocations: 35.86 kB / 0.4944 GB, free: 40.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.4774, allocations: 365.3 kB / 0.4947 GB, free: 40.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4775, allocations: 177.3 kB / 0.4949 GB, free: 40.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.4776, allocations: 17.75 kB / 0.4949 GB, free: 40.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4777, allocations: 331.4 kB / 0.4952 GB, free: 40.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/0.4785, allocations: 284.5 kB / 0.4955 GB, free: 40.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.4793, allocations: 447.2 kB / 0.4959 GB, free: 40.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.4801, allocations: 332.2 kB / 0.4962 GB, free: 40.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4801, allocations: 1.531 kB / 0.4963 GB, free: 40.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001925/0.4821, allocations: 0.833 MB / 0.4971 GB, free: 39.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.4822, allocations: 218.7 kB / 0.4973 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4822, allocations: 4.062 kB / 0.4973 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.4823, allocations: 13.88 kB / 0.4973 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.483, allocations: 165.5 kB / 0.4974 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.483, allocations: 11.67 kB / 0.4975 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.4836, allocations: 90.83 kB / 0.4975 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.4837, allocations: 23.94 kB / 0.4976 GB, free: 39.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.4837, allocations: 4.453 kB / 0.4976 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.4853, allocations: 0.7161 MB / 0.4983 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4853, allocations: 8.5 kB / 0.4983 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.4853, allocations: 7.688 kB / 0.4983 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.4859, allocations: 161.6 kB / 0.4984 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4859, allocations: 9.828 kB / 0.4985 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.4864, allocations: 85.73 kB / 0.4985 GB, free: 39.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.4864, allocations: 28.83 kB / 0.4986 GB, free: 39.56 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003263/0.4868, allocations: 291.6 kB / 0.4988 GB, free: 39.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.4869, allocations: 78.34 kB / 0.4989 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.4871, allocations: 93.7 kB / 0.499 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.4871, allocations: 2.969 kB / 0.499 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.4871, allocations: 3.031 kB / 0.499 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4871, allocations: 0 / 0.499 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.4884, allocations: 0.8639 MB / 0.4999 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4884, allocations: 0 / 0.4999 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.4891, allocations: 121.7 kB / 0.5 GB, free: 38.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4891, allocations: 2.656 kB / 0.5 GB, free: 38.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.4891, allocations: 16.62 kB / 0.5 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4891, allocations: 2.688 kB / 0.5 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4892, allocations: 2.531 kB / 0.5 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.4911, allocations: 1.203 MB / 0.5012 GB, free: 38.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4913, allocations: 193.6 kB / 0.5013 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.4914, allocations: 16.56 kB / 0.5014 GB, free: 38.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.492, allocations: 66.39 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4921, allocations: 38.39 kB / 0.5015 GB, free: 37.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.4921, allocations: 19.72 kB / 0.5015 GB, free: 37.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005883/0.4927, allocations: 460.6 kB / 0.5019 GB, free: 37.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4927, allocations: 0.5625 kB / 0.5019 GB, free: 37.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.4935, allocations: 192.9 kB / 0.5021 GB, free: 37.77 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.0001796/0.4937, allocations: 108.8 kB / 0.5022 GB, free: 37.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.4959, allocations: 1.011 MB / 0.5032 GB, free: 37.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4959, allocations: 4.062 kB / 0.5032 GB, free: 37.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.4966, allocations: 303.5 kB / 0.5035 GB, free: 37.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4978, allocations: 187.5 kB / 0.5037 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5003, allocations: 1.765 MB / 0.5054 GB, free: 36.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5007, allocations: 0.957 MB / 0.5063 GB, free: 35.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.5009, allocations: 46.09 kB / 0.5064 GB, free: 35.55 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5009, allocations: 0 / 0.5064 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Templates: time 0.0113/0.5122, allocations: 8.669 MB / 0.5148 GB, free: 34.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches