Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 106.4 kB / 17.09 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 191.5 kB / 18.02 MB, free: 4.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1006, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00449/0.1052, allocations: 1.688 MB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1068, allocations: 0.6452 MB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.107, allocations: 4 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.1071, allocations: 11.81 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1073, allocations: 19.8 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1079, allocations: 143.7 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1082, allocations: 151.7 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1084, allocations: 41.09 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1086, allocations: 75.69 kB / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1087, allocations: 67.73 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.1088, allocations: 12 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.1089, allocations: 12 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.109, allocations: 27.91 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.9e-05/0.1091, allocations: 63.66 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1093, allocations: 139.4 kB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1094, allocations: 0 / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1094, allocations: 4 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1094, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001001/0.1104, allocations: 466.2 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1105, allocations: 11.89 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.1105, allocations: 16.84 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.111, allocations: 232.1 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.111, allocations: 8.359 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.1111, allocations: 8.375 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.1117, allocations: 180.3 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1118, allocations: 0 / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.1118, allocations: 8 kB / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1118, allocations: 0 / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.1124, allocations: 127.8 kB / 0.4926 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1139, allocations: 456.4 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1149, allocations: 194.4 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.1153, allocations: 80.78 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1154, allocations: 0 / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1154, allocations: 34.56 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.1154, allocations: 4 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002539/0.118, allocations: 0.576 MB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.1181, allocations: 106.8 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1183, allocations: 172.4 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1184, allocations: 25.7 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1185, allocations: 112.1 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1186, allocations: 27.75 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.1187, allocations: 29.7 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1189, allocations: 326.8 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.1194, allocations: 72.78 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.1199, allocations: 98.45 kB / 0.4948 GB, free: 5.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.1207, allocations: 132.8 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1208, allocations: 4 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009382/0.1217, allocations: 193.4 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1218, allocations: 10.81 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1218, allocations: 0 / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1218, allocations: 0 / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1222, allocations: 35.97 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1222, allocations: 3.938 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.1225, allocations: 32.28 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1225, allocations: 7.984 kB / 0.4952 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002603/0.1228, allocations: 116.1 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002416/0.123, allocations: 66.42 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003669/0.1234, allocations: 76.81 kB / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.1234, allocations: 0 / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0004609/0.1239, allocations: 113.5 kB / 0.4956 GB, free: 4.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1239, allocations: 7.984 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.1239, allocations: 0 / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.124, allocations: 8.031 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1242, allocations: 19.98 kB / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1242, allocations: 0 / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1244, allocations: 19.92 kB / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1244, allocations: 4 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.1246, allocations: 184.2 kB / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1247, allocations: 15.91 kB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.1248, allocations: 21.39 kB / 0.4958 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1248, allocations: 0 / 0.4958 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1248, allocations: 3.938 kB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.1249, allocations: 89.02 kB / 0.4959 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1249, allocations: 4 kB / 0.4959 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.1254, allocations: 35.95 kB / 0.4959 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.1256, allocations: 15.98 kB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001146/0.1267, allocations: 273 kB / 0.4962 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001516/0.1283, allocations: 438.4 kB / 0.4966 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004306/0.1287, allocations: 75.97 kB / 0.4967 GB, free: 3.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1289, allocations: 127.5 kB / 0.4968 GB, free: 2.891 MB / 382.1 MB Notification: Performance of Backend: time 7.81e-07/0.1289, allocations: 0 / 0.4968 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.1301, allocations: 202.3 kB / 0.497 GB, free: 2.688 MB / 382.1 MB Notification: Performance of SimCode: time 0.001181/0.1313, allocations: 0.7081 MB / 0.4977 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Templates: time 0.01054/0.1419, allocations: 2.522 MB / 0.5002 GB, free: 15.41 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches