Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.00126, allocations: 180.1 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.845/1.845, 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.0008801/0.0008801, allocations: 94.3 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.3582/0.3582, allocations: 43.56 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003428/0.1086, allocations: 2.987 MB / 493.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.111, allocations: 1.38 MB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.1116, allocations: 23.88 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1118, allocations: 71.19 kB / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.1123, allocations: 123 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1134, allocations: 475.3 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.1143, allocations: 0.8156 MB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.1147, allocations: 228.5 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.1152, allocations: 278.6 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.1156, allocations: 282.3 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.1157, allocations: 28 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1157, allocations: 20 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.1158, allocations: 111.4 kB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1159, allocations: 137.2 kB / 497.2 MB, free: 4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1165, allocations: 0.5769 MB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1165, allocations: 0 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1165, allocations: 3.938 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.1165, allocations: 0 / 497.7 MB, free: 3.418 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002151/0.1187, allocations: 1.133 MB / 498.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1187, allocations: 8.031 kB / 498.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1189, allocations: 102.8 kB / 499 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.1197, allocations: 0.5381 MB / 499.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.1197, allocations: 45 kB / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.1198, allocations: 55.91 kB / 499.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.1214, allocations: 0.7462 MB / 0.4886 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1214, allocations: 4 kB / 0.4886 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.1214, allocations: 24 kB / 0.4887 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1215, allocations: 12 kB / 0.4887 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.168/0.2894, allocations: 0.6363 MB / 0.4893 GB, free: 43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.2932, allocations: 2.338 MB / 0.4916 GB, free: 41.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.2951, allocations: 0.8197 MB / 0.4924 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.296, allocations: 379.5 kB / 0.4927 GB, free: 41.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.2961, allocations: 9.5 kB / 0.4927 GB, free: 41.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2961, allocations: 42.09 kB / 0.4928 GB, free: 41.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.936e-06/0.2961, allocations: 0 / 0.4928 GB, free: 41.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004786/0.3009, allocations: 2.166 MB / 0.4949 GB, free: 41.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.301, allocations: 189.9 kB / 0.4951 GB, free: 41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.3016, allocations: 0.5748 MB / 0.4956 GB, free: 40.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3017, allocations: 35.45 kB / 0.4957 GB, free: 40.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.3019, allocations: 368.6 kB / 0.496 GB, free: 40.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.302, allocations: 177.2 kB / 0.4962 GB, free: 40.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.3021, allocations: 12.75 kB / 0.4962 GB, free: 40.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.3021, allocations: 324.2 kB / 0.4965 GB, free: 40.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/0.303, allocations: 344.8 kB / 0.4969 GB, free: 40.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.304, allocations: 462.8 kB / 0.4973 GB, free: 40.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3049, allocations: 351.4 kB / 0.4976 GB, free: 40.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3049, allocations: 4 kB / 0.4976 GB, free: 40.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002101/0.307, allocations: 0.8871 MB / 0.4985 GB, free: 40 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.3071, allocations: 167.6 kB / 0.4987 GB, free: 39.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3071, allocations: 3.594 kB / 0.4987 GB, free: 39.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.3071, allocations: 10.16 kB / 0.4987 GB, free: 39.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.308, allocations: 219.8 kB / 0.4989 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.308, allocations: 3.094 kB / 0.4989 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.3086, allocations: 109.6 kB / 0.499 GB, free: 39.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3087, allocations: 21.2 kB / 0.499 GB, free: 39.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.3087, allocations: 2.656 kB / 0.499 GB, free: 39.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/0.3099, allocations: 0.6124 MB / 0.4996 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3099, allocations: 3.531 kB / 0.4996 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.3099, allocations: 5.531 kB / 0.4996 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.3106, allocations: 176.9 kB / 0.4998 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3106, allocations: 5.844 kB / 0.4998 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.311, allocations: 78.08 kB / 0.4999 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.3111, allocations: 20.69 kB / 0.4999 GB, free: 39.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002311/0.3113, allocations: 273.9 kB / 0.5001 GB, free: 39.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3114, allocations: 77.75 kB / 0.5002 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.3116, allocations: 85.83 kB / 0.5003 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3116, allocations: 5.938 kB / 0.5003 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3116, allocations: 0 / 0.5003 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3116, allocations: 14.22 kB / 0.5003 GB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.3141, allocations: 1.539 MB / 0.5018 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3141, allocations: 5.547 kB / 0.5018 GB, free: 38.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.3148, allocations: 176.6 kB / 0.502 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3148, allocations: 3.312 kB / 0.502 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.3149, allocations: 15.64 kB / 0.502 GB, free: 38.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3149, allocations: 3.156 kB / 0.502 GB, free: 38.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3149, allocations: 1.188 kB / 0.502 GB, free: 38.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.3175, allocations: 1.411 MB / 0.5034 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3177, allocations: 193.2 kB / 0.5036 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.3178, allocations: 11.16 kB / 0.5036 GB, free: 37.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.3183, allocations: 104.7 kB / 0.5037 GB, free: 37.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.3184, allocations: 47.55 kB / 0.5037 GB, free: 37.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.3185, allocations: 16.77 kB / 0.5038 GB, free: 37.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003447/0.3188, allocations: 402.9 kB / 0.5041 GB, free: 37.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3188, allocations: 0 / 0.5041 GB, free: 37.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006065/0.3194, allocations: 182.4 kB / 0.5043 GB, free: 37.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.000117/0.3196, allocations: 110.9 kB / 0.5044 GB, free: 37.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.3218, allocations: 1.092 MB / 0.5055 GB, free: 37.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3218, allocations: 3.281 kB / 0.5055 GB, free: 37.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.3227, allocations: 410.5 kB / 0.5059 GB, free: 37.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3237, allocations: 183.4 kB / 0.5061 GB, free: 37.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.3268, allocations: 1.85 MB / 0.5079 GB, free: 36.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3271, allocations: 0.9251 MB / 0.5088 GB, free: 35.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.3273, allocations: 57.2 kB / 0.5088 GB, free: 35.4 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3273, allocations: 0 / 0.5088 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01057/0.3379, allocations: 8.85 MB / 0.5175 GB, free: 34.56 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches