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.001235/0.001235, allocations: 107.4 kB / 17.09 MB, free: 6.008 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.001218/0.001218, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.232/1.232, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1818/0.1818, allocations: 43.52 MB / 314.8 MB, free: 472 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.001316/0.001316, allocations: 75.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.09074, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002529/0.0933, allocations: 1.688 MB / 0.4902 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.09432, allocations: 0.6412 MB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.09442, allocations: 4 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.09447, allocations: 11.81 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.09458, allocations: 27.78 kB / 0.4909 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.09497, allocations: 147.7 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.09516, allocations: 155.6 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.09527, allocations: 33.08 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.0954, allocations: 67.77 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.09551, allocations: 63.69 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.09554, allocations: 16 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.09557, allocations: 12 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.09562, allocations: 39.89 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.09567, allocations: 59.66 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.09583, allocations: 135.5 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.09584, allocations: 0 / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09585, allocations: 4 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.09586, allocations: 0 / 0.4916 GB, free: 8.711 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.0005734/0.09643, allocations: 458.9 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.09647, allocations: 15.89 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.09653, allocations: 16.75 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.09678, allocations: 224 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.09681, allocations: 8.375 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.09684, allocations: 8.375 kB / 0.4923 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.09722, allocations: 187 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.09724, allocations: 3.938 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.09726, allocations: 4 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09727, allocations: 4 kB / 0.4924 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.09762, allocations: 123.8 kB / 0.4926 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.09836, allocations: 456.3 kB / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.09885, allocations: 194.4 kB / 0.4932 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.09905, allocations: 72.73 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.09908, allocations: 4 kB / 0.4933 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.09911, allocations: 38.56 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.09912, allocations: 4 kB / 0.4933 GB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001235/0.1004, allocations: 0.5643 MB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1004, allocations: 110.8 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1005, allocations: 172.4 kB / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1006, allocations: 29.7 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.1006, allocations: 108 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1007, allocations: 27.56 kB / 0.4943 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1007, allocations: 29.7 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.1008, allocations: 322.8 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.101, allocations: 76.8 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1012, allocations: 94.44 kB / 0.4948 GB, free: 5.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.1016, allocations: 136.8 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1016, allocations: 4 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004103/0.102, allocations: 193.6 kB / 0.4951 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.102, allocations: 4 kB / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.102, allocations: 0 / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1021, allocations: 0 / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1022, allocations: 39.97 kB / 0.4951 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1022, allocations: 3.938 kB / 0.4951 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1024, allocations: 27.97 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1024, allocations: 7.938 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001273/0.1025, allocations: 120.1 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001012/0.1026, allocations: 58.48 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001539/0.1028, allocations: 76.81 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.1028, allocations: 4.031 kB / 0.4954 GB, free: 4.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002169/0.103, allocations: 117.4 kB / 0.4955 GB, free: 4.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.103, allocations: 8 kB / 0.4955 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-06/0.103, allocations: 0 / 0.4955 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.1031, allocations: 0 / 0.4955 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.1032, allocations: 23.97 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-06/0.1032, allocations: 0 / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1033, allocations: 23.92 kB / 0.4956 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1033, allocations: 4.375 kB / 0.4956 GB, free: 4.254 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 8.447e-05/0.1034, allocations: 188.2 kB / 0.4958 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1034, allocations: 7.906 kB / 0.4958 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.1035, allocations: 13.41 kB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1035, allocations: 7.922 kB / 0.4958 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1035, allocations: 7.938 kB / 0.4958 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1035, allocations: 84.92 kB / 0.4959 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1035, allocations: 8 kB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1038, allocations: 35.95 kB / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1038, allocations: 7.984 kB / 0.4959 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005158/0.1044, allocations: 276.7 kB / 0.4962 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006617/0.105, allocations: 438.3 kB / 0.4966 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002093/0.1053, allocations: 76.03 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.1053, allocations: 123.5 kB / 0.4968 GB, free: 2.949 MB / 382.1 MB Notification: Performance of Backend: time 2e-07/0.1053, allocations: 0 / 0.4968 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005761/0.1059, allocations: 202.2 kB / 0.497 GB, free: 2.746 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006116/0.1065, allocations: 0.7204 MB / 0.4977 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Templates: time 0.00495/0.1115, allocations: 2.603 MB / 0.5002 GB, free: 15.38 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