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.0009146/0.0009147, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.234/1.234, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007354/0.0007357, allocations: 94.34 kB / 271.2 MB, free: 8.234 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.3102/0.3102, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09347, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003019/0.09653, allocations: 2.831 MB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.09872, allocations: 1.506 MB / 495.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.09896, allocations: 19.88 kB / 495.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.09935, allocations: 103.2 kB / 495.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.09972, allocations: 163 kB / 495.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.1006, allocations: 415.3 kB / 495.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.1014, allocations: 0.8104 MB / 496.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.1017, allocations: 226.3 kB / 496.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.1021, allocations: 294.5 kB / 497.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1025, allocations: 314.4 kB / 497.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.1025, allocations: 20 kB / 497.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.1026, allocations: 24 kB / 497.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1028, allocations: 159.3 kB / 497.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.103, allocations: 295.9 kB / 498 MB, free: 3.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.1035, allocations: 0.5378 MB / 498.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1035, allocations: 0 / 498.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1035, allocations: 0 / 498.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1035, allocations: 0 / 498.5 MB, free: 3.16 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.001894/0.1054, allocations: 1.055 MB / 499.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1054, allocations: 8.031 kB / 499.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.1056, allocations: 99.81 kB / 499.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.1064, allocations: 0.5584 MB / 0.4885 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.1064, allocations: 45.36 kB / 0.4885 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.1065, allocations: 56.38 kB / 0.4886 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1076, allocations: 0.6255 MB / 0.4892 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1076, allocations: 7.844 kB / 0.4892 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.1077, allocations: 20 kB / 0.4892 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1077, allocations: 12 kB / 0.4892 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1088, allocations: 0.4938 MB / 0.4897 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1552/0.264, allocations: 2.673 MB / 0.4923 GB, free: 41.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2652, allocations: 0.5879 MB / 0.4929 GB, free: 41.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.2658, allocations: 279.1 kB / 0.4932 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.2658, allocations: 5.375 kB / 0.4932 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2658, allocations: 39.38 kB / 0.4932 GB, free: 41.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/0.2658, allocations: 0.6094 kB / 0.4932 GB, free: 41.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00235/0.2682, allocations: 1.207 MB / 0.4944 GB, free: 41.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2683, allocations: 134.6 kB / 0.4945 GB, free: 41.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.2691, allocations: 0.653 MB / 0.4952 GB, free: 40.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2691, allocations: 36.17 kB / 0.4952 GB, free: 40.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.2693, allocations: 366 kB / 0.4955 GB, free: 40.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2694, allocations: 169.7 kB / 0.4957 GB, free: 40.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2695, allocations: 12.75 kB / 0.4957 GB, free: 40.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.2695, allocations: 329.5 kB / 0.496 GB, free: 40.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.2702, allocations: 288.9 kB / 0.4963 GB, free: 40.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.2709, allocations: 450.8 kB / 0.4967 GB, free: 40.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.2721, allocations: 0.7125 MB / 0.4974 GB, free: 39.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2721, allocations: 2.25 kB / 0.4974 GB, free: 39.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001609/0.2737, allocations: 0.8365 MB / 0.4983 GB, free: 39.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.2738, allocations: 223 kB / 0.4985 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2738, allocations: 4.594 kB / 0.4985 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2739, allocations: 7.656 kB / 0.4985 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.2745, allocations: 162.3 kB / 0.4986 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2746, allocations: 8.094 kB / 0.4986 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.2751, allocations: 99.8 kB / 0.4987 GB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.2751, allocations: 28.25 kB / 0.4988 GB, free: 39.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/0.2751, allocations: 7.422 kB / 0.4988 GB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/0.2766, allocations: 0.7134 MB / 0.4995 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2766, allocations: 2.719 kB / 0.4995 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.2766, allocations: 7.688 kB / 0.4995 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.2772, allocations: 159 kB / 0.4996 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2772, allocations: 11.62 kB / 0.4996 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.2776, allocations: 80.03 kB / 0.4997 GB, free: 39.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2777, allocations: 28.06 kB / 0.4997 GB, free: 39.41 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.0002476/0.2779, allocations: 292.2 kB / 0.5 GB, free: 39.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2781, allocations: 79.86 kB / 0.5001 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.2782, allocations: 87.86 kB / 0.5002 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2782, allocations: 5.312 kB / 0.5002 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2783, allocations: 0 / 0.5002 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2783, allocations: 5.688 kB / 0.5002 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.2794, allocations: 0.8669 MB / 0.501 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2795, allocations: 0 / 0.501 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.2801, allocations: 118.8 kB / 0.5011 GB, free: 38.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.2801, allocations: 6.156 kB / 0.5012 GB, free: 38.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.2802, allocations: 17.38 kB / 0.5012 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2802, allocations: 2.75 kB / 0.5012 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2802, allocations: 0 / 0.5012 GB, free: 38.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.282, allocations: 1.202 MB / 0.5023 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.2822, allocations: 196.7 kB / 0.5025 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.2823, allocations: 14.31 kB / 0.5025 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.2828, allocations: 61.47 kB / 0.5026 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2829, allocations: 38.39 kB / 0.5026 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.283, allocations: 16.66 kB / 0.5027 GB, free: 37.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005763/0.2835, allocations: 462.6 kB / 0.5031 GB, free: 37.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2835, allocations: 0.75 kB / 0.5031 GB, free: 37.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007636/0.2843, allocations: 193.3 kB / 0.5033 GB, free: 37.55 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.0001308/0.2845, allocations: 109.2 kB / 0.5034 GB, free: 37.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2866, allocations: 1.016 MB / 0.5044 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2866, allocations: 4.062 kB / 0.5044 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.2873, allocations: 307.4 kB / 0.5047 GB, free: 37.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2885, allocations: 175.6 kB / 0.5048 GB, free: 37.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.291, allocations: 1.76 MB / 0.5066 GB, free: 36.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2914, allocations: 0.9559 MB / 0.5075 GB, free: 35.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.2916, allocations: 48.14 kB / 0.5075 GB, free: 35.32 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2916, allocations: 0 / 0.5075 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Templates: time 0.0121/0.3037, allocations: 8.673 MB / 0.516 GB, free: 34.56 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