Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 109.9 kB / 18.46 MB, free: 4.613 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.001777/0.001777, allocations: 182 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 60.82 MB / 0.5196 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002569/0.3338, allocations: 1.672 MB / 0.5212 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3351, allocations: 0.6017 MB / 0.5218 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3352, allocations: 1.281 kB / 0.5218 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.3353, allocations: 13.64 kB / 0.5218 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3354, allocations: 16.72 kB / 0.5218 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.336, allocations: 139.5 kB / 0.5219 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3363, allocations: 150.8 kB / 0.5221 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3365, allocations: 34.59 kB / 0.5221 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3366, allocations: 71.97 kB / 0.5222 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3368, allocations: 65.41 kB / 0.5223 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.3368, allocations: 13.38 kB / 0.5223 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.15e-05/0.3369, allocations: 13.88 kB / 0.5223 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.3369, allocations: 36.19 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.337, allocations: 63.12 kB / 0.5224 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3373, allocations: 128.1 kB / 0.5225 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3373, allocations: 0 / 0.5225 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3373, allocations: 5 kB / 0.5225 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3373, allocations: 3.938 kB / 0.5225 GB, free: 1.891 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.0007252/0.338, allocations: 458 kB / 0.5229 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.3381, allocations: 9.375 kB / 0.523 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3382, allocations: 16.89 kB / 0.523 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3385, allocations: 224.1 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3385, allocations: 4.047 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.3385, allocations: 18.05 kB / 0.5232 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.339, allocations: 173.2 kB / 0.5234 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.339, allocations: 4 kB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.339, allocations: 5.188 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.339, allocations: 2.219 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3394, allocations: 129.4 kB / 0.5235 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.3402, allocations: 456.1 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.3408, allocations: 193.1 kB / 0.5241 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3411, allocations: 76.72 kB / 0.5242 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.3412, allocations: 1.688 kB / 0.5242 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3412, allocations: 37.44 kB / 0.5242 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3412, allocations: 0 / 0.5242 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001843/0.3431, allocations: 0.5715 MB / 0.5248 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3431, allocations: 105.3 kB / 0.5249 GB, free: 192 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3433, allocations: 156 kB / 0.525 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3433, allocations: 25.7 kB / 0.5251 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3434, allocations: 111.5 kB / 0.5252 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3435, allocations: 32.14 kB / 0.5252 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.3436, allocations: 31.05 kB / 0.5252 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3437, allocations: 325.4 kB / 0.5255 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.3439, allocations: 71.61 kB / 0.5256 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3442, allocations: 96.98 kB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3446, allocations: 137.2 kB / 0.5258 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3447, allocations: 4.219 kB / 0.5258 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005275/0.3452, allocations: 191.1 kB / 0.526 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3452, allocations: 5.344 kB / 0.526 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3452, allocations: 0.5156 kB / 0.526 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3453, allocations: 5.375 kB / 0.526 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3455, allocations: 42.83 kB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3455, allocations: 1.484 kB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3456, allocations: 21.84 kB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3457, allocations: 10.62 kB / 0.5261 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001644/0.3458, allocations: 116.5 kB / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001304/0.346, allocations: 62.42 kB / 0.5263 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001991/0.3462, allocations: 74.98 kB / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.3462, allocations: 0 / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002662/0.3465, allocations: 116.5 kB / 0.5265 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3465, allocations: 6.766 kB / 0.5265 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.3465, allocations: 3.938 kB / 0.5265 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-06/0.3465, allocations: 4.031 kB / 0.5265 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3466, allocations: 25.98 kB / 0.5265 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.3466, allocations: 2.219 kB / 0.5265 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.552e-05/0.3467, allocations: 11.16 kB / 0.5265 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3467, allocations: 6.703 kB / 0.5265 GB, free: 15.14 MB / 398.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.0001249/0.3469, allocations: 184.6 kB / 0.5267 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3469, allocations: 13.91 kB / 0.5267 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.347, allocations: 26.19 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.347, allocations: 0.7969 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.347, allocations: 4 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.347, allocations: 86.27 kB / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3471, allocations: 0 / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3473, allocations: 39.39 kB / 0.5269 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.3474, allocations: 10.19 kB / 0.5269 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006092/0.348, allocations: 267.6 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007898/0.3488, allocations: 444.1 kB / 0.5275 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002275/0.3491, allocations: 73.12 kB / 0.5276 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.3492, allocations: 117.2 kB / 0.5277 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.3492, allocations: 0 / 0.5277 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.3499, allocations: 208 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006913/0.3506, allocations: 0.7113 MB / 0.5286 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Templates: time 0.005098/0.3557, allocations: 2.523 MB / 0.5311 GB, free: 12.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches