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.001496/0.001496, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001091/0.001091, allocations: 89.83 kB / 270.9 MB, free: 8.387 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.5101/0.5101, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 58.83 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.5879, allocations: 95.69 MB / 0.5722 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.5882, allocations: 75.95 kB / 0.5722 GB, free: 6.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07181/0.66, allocations: 14.75 MB / 0.5866 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6601, allocations: 0 / 0.5866 GB, free: 8.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.852e-05/0.6602, allocations: 24 kB / 0.5867 GB, free: 8.23 MB / 410.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.00393/0.6641, allocations: 1.096 MB / 0.5877 GB, free: 7.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6642, allocations: 8.031 kB / 0.5877 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.6646, allocations: 86.97 kB / 0.5878 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.6665, allocations: 0.5897 MB / 0.5884 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.6666, allocations: 40.98 kB / 0.5884 GB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.6668, allocations: 63.84 kB / 0.5885 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.6687, allocations: 0.6223 MB / 0.5891 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.6687, allocations: 4 kB / 0.5891 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.6688, allocations: 20 kB / 0.5891 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.6689, allocations: 15.94 kB / 0.5891 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.6709, allocations: 0.4977 MB / 0.5896 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.6771, allocations: 2.706 MB / 0.5923 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.6794, allocations: 0.5863 MB / 0.5928 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.6796, allocations: 4.062 kB / 0.5929 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.6796, allocations: 42.59 kB / 0.5929 GB, free: 1.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.6796, allocations: 3.375 kB / 0.5929 GB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004668/0.6843, allocations: 1.209 MB / 0.5941 GB, free: 364 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.6845, allocations: 140.5 kB / 0.5942 GB, free: 192 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.686, allocations: 0.5779 MB / 0.5948 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.6862, allocations: 37.7 kB / 0.5948 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.6866, allocations: 370.5 kB / 0.5952 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.6869, allocations: 169.5 kB / 0.5953 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.6869, allocations: 12 kB / 0.5953 GB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6871, allocations: 334.8 kB / 0.5957 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.6884, allocations: 293.1 kB / 0.5959 GB, free: 14.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.6898, allocations: 445.2 kB / 0.5964 GB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6912, allocations: 329.2 kB / 0.5967 GB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6912, allocations: 0 / 0.5967 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003004/0.6942, allocations: 0.788 MB / 0.5974 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008554/0.6951, allocations: 1.751 MB / 0.5992 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.6952, allocations: 4 kB / 0.5992 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.6952, allocations: 8 kB / 0.5992 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.6966, allocations: 159.8 kB / 0.5993 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.6967, allocations: 8 kB / 0.5993 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.6978, allocations: 99.47 kB / 0.5994 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/0.6979, allocations: 31.98 kB / 0.5994 GB, free: 10.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.698, allocations: 6.969 kB / 0.5995 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002743/0.7007, allocations: 0.7117 MB / 0.6002 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7008, allocations: 4 kB / 0.6002 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7008, allocations: 8 kB / 0.6002 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.7021, allocations: 159.7 kB / 0.6003 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.7021, allocations: 11.94 kB / 0.6003 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.7028, allocations: 79.75 kB / 0.6004 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.7029, allocations: 24 kB / 0.6004 GB, free: 9.586 MB / 426.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.0005887/0.7035, allocations: 281 kB / 0.6007 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.7038, allocations: 79.06 kB / 0.6008 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.7041, allocations: 94.28 kB / 0.6009 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.7041, allocations: 7.953 kB / 0.6009 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7042, allocations: 4 kB / 0.6009 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.7042, allocations: 0 / 0.6009 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.7063, allocations: 0.8453 MB / 0.6017 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7063, allocations: 0.75 kB / 0.6017 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.7077, allocations: 115.9 kB / 0.6018 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.7077, allocations: 3.953 kB / 0.6018 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.7078, allocations: 23.98 kB / 0.6018 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.7078, allocations: 3.938 kB / 0.6018 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7079, allocations: 0 / 0.6018 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.7118, allocations: 1.23 MB / 0.603 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.7124, allocations: 200.2 kB / 0.6032 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.7125, allocations: 15.94 kB / 0.6032 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.7136, allocations: 63.94 kB / 0.6033 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.7138, allocations: 35.94 kB / 0.6033 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.7139, allocations: 12 kB / 0.6034 GB, free: 6.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.7151, allocations: 467 kB / 0.6038 GB, free: 6.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7151, allocations: 0 / 0.6038 GB, free: 6.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001356/0.7165, allocations: 211.9 kB / 0.604 GB, free: 5.805 MB / 426.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.0002578/0.7168, allocations: 111.2 kB / 0.6041 GB, free: 5.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004174/0.7209, allocations: 1.014 MB / 0.6051 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.721, allocations: 0 / 0.6051 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.7223, allocations: 303.8 kB / 0.6054 GB, free: 4.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.724, allocations: 171 kB / 0.6055 GB, free: 4.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.7289, allocations: 1.77 MB / 0.6073 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.7297, allocations: 0.9731 MB / 0.6082 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.7302, allocations: 51.42 kB / 0.6083 GB, free: 1.355 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7302, allocations: 0 / 0.6083 GB, free: 1.355 MB / 426.7 MB Notification: Performance of Templates: time 0.022/0.7522, allocations: 8.612 MB / 0.6167 GB, free: 8.789 MB / 442.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/jenkins1/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