Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 112.7 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001886/0.001886, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.09 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002833/0.3053, allocations: 1.687 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3064, allocations: 0.649 MB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.3065, allocations: 1.375 kB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.3066, allocations: 17.17 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.3067, allocations: 21.17 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3071, allocations: 144.7 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3073, allocations: 164.1 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3074, allocations: 38.62 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3076, allocations: 75.25 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3077, allocations: 77.36 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3077, allocations: 13.75 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.3078, allocations: 15.12 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.3078, allocations: 32.03 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.3079, allocations: 60.08 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.308, allocations: 135 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.308, allocations: 1.375 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3081, allocations: 0 / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3081, allocations: 0 / 0.5347 GB, free: 11.22 MB / 398.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.0006093/0.3087, allocations: 463.9 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.3087, allocations: 7.938 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.3089, allocations: 26.05 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3091, allocations: 226.7 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3092, allocations: 11.81 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3092, allocations: 6.094 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.3096, allocations: 183.2 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3096, allocations: 0 / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3096, allocations: 10.36 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3096, allocations: 2.688 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.31, allocations: 118.2 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.3107, allocations: 452.5 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3113, allocations: 193.5 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3115, allocations: 72.11 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3115, allocations: 5.359 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3115, allocations: 39.94 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3115, allocations: 0 / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001284/0.3128, allocations: 0.5624 MB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3129, allocations: 107.9 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.313, allocations: 167 kB / 0.5372 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.313, allocations: 26.86 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.3131, allocations: 109.6 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3131, allocations: 31.98 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3132, allocations: 30.42 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.3133, allocations: 322 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3135, allocations: 74.58 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3137, allocations: 94.05 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3141, allocations: 145.1 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3141, allocations: 4 kB / 0.538 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004488/0.3146, allocations: 190 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3146, allocations: 4.844 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3146, allocations: 5.297 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3146, allocations: 3.938 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3148, allocations: 37.55 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3148, allocations: 8.797 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.315, allocations: 29.84 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.315, allocations: 2.219 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001405/0.3151, allocations: 121.5 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001074/0.3152, allocations: 54.05 kB / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001705/0.3154, allocations: 80.73 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.3154, allocations: 0 / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002285/0.3157, allocations: 122.7 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.3157, allocations: 5.469 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.3157, allocations: 0 / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-06/0.3157, allocations: 1.375 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.3158, allocations: 21.08 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.3158, allocations: 0 / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.3159, allocations: 24.36 kB / 0.5387 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3159, allocations: 2.312 kB / 0.5387 GB, free: 7.949 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 9.254e-05/0.316, allocations: 187 kB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.3161, allocations: 18.19 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.3161, allocations: 17.23 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3161, allocations: 0 / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3161, allocations: 3.938 kB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.3162, allocations: 84.67 kB / 0.539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3162, allocations: 4.875 kB / 0.539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3165, allocations: 39.55 kB / 0.5391 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3165, allocations: 7.203 kB / 0.5391 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006285/0.3172, allocations: 271.1 kB / 0.5393 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009075/0.3181, allocations: 441.5 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002002/0.3183, allocations: 81.3 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.3184, allocations: 119.5 kB / 0.5399 GB, free: 6.973 MB / 398.1 MB Notification: Performance of Backend: time 2.2e-07/0.3184, allocations: 0 / 0.5399 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.319, allocations: 210.7 kB / 0.5401 GB, free: 6.852 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006013/0.3197, allocations: 0.6905 MB / 0.5408 GB, free: 6.195 MB / 398.1 MB Notification: Performance of Templates: time 0.005457/0.3251, allocations: 2.644 MB / 0.5434 GB, free: 4.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches