Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.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.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_cpp_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_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 90.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3037/0.3037, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.585e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.5716, allocations: 86.82 MB / 0.5507 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5719, allocations: 67.47 kB / 0.5507 GB, free: 12.42 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02439/0.5963, allocations: 4.55 MB / 0.5552 GB, free: 7.871 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5964, allocations: 3.938 kB / 0.5552 GB, free: 7.867 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.5964, allocations: 4 kB / 0.5552 GB, free: 7.863 MB / 395.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.0008801/0.5973, allocations: 438.2 kB / 0.5556 GB, free: 7.391 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5974, allocations: 8.031 kB / 0.5556 GB, free: 7.383 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.5975, allocations: 15.81 kB / 0.5556 GB, free: 7.367 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.5979, allocations: 229.6 kB / 0.5559 GB, free: 7.105 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.5979, allocations: 4 kB / 0.5559 GB, free: 7.102 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.598, allocations: 11.91 kB / 0.5559 GB, free: 7.09 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002145/0.5982, allocations: 55.98 kB / 0.5559 GB, free: 7.035 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.5985, allocations: 119.4 kB / 0.556 GB, free: 6.906 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5986, allocations: 0 / 0.556 GB, free: 6.906 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5986, allocations: 0 / 0.556 GB, free: 6.906 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5986, allocations: 3.938 kB / 0.556 GB, free: 6.902 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.5999, allocations: 440.9 kB / 0.5565 GB, free: 6.434 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.6007, allocations: 166.5 kB / 0.5566 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.6008, allocations: 24.86 kB / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.6009, allocations: 7.953 kB / 0.5567 GB, free: 6.227 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.6009, allocations: 38.56 kB / 0.5567 GB, free: 6.18 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.776e-06/0.6009, allocations: 3.938 kB / 0.5567 GB, free: 6.176 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003561/0.6013, allocations: 81.8 kB / 0.5568 GB, free: 6.09 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.6014, allocations: 110.8 kB / 0.5569 GB, free: 5.957 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6016, allocations: 133.3 kB / 0.557 GB, free: 5.82 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.6016, allocations: 25.7 kB / 0.557 GB, free: 5.789 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6017, allocations: 174.4 kB / 0.5572 GB, free: 5.617 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.6018, allocations: 27.61 kB / 0.5572 GB, free: 5.59 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.6018, allocations: 4 kB / 0.5572 GB, free: 5.586 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.602, allocations: 312.1 kB / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.6021, allocations: 20 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.6022, allocations: 50.56 kB / 0.5576 GB, free: 5.195 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/0.6023, allocations: 24.2 kB / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6023, allocations: 0 / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002619/0.6026, allocations: 89.83 kB / 0.5577 GB, free: 5.078 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.6027, allocations: 96.98 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6027, allocations: 0 / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6027, allocations: 0 / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.6031, allocations: 43.91 kB / 0.5578 GB, free: 4.934 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6031, allocations: 0 / 0.5578 GB, free: 4.934 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.6034, allocations: 39.91 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.6035, allocations: 7.984 kB / 0.5579 GB, free: 4.887 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6035, allocations: 4 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001508/0.6036, allocations: 32 kB / 0.5579 GB, free: 4.852 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.6037, allocations: 0 / 0.5579 GB, free: 4.852 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.6037, allocations: 8 kB / 0.5579 GB, free: 4.844 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.6039, allocations: 19.98 kB / 0.5579 GB, free: 4.824 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6039, allocations: 3.984 kB / 0.5579 GB, free: 4.82 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.604, allocations: 19.86 kB / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.6041, allocations: 7.938 kB / 0.558 GB, free: 4.793 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001262/0.6042, allocations: 104.9 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.6043, allocations: 19.89 kB / 0.5581 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.6044, allocations: 12.62 kB / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6044, allocations: 0 / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6044, allocations: 0 / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6044, allocations: 0 / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.6048, allocations: 206.1 kB / 0.5583 GB, free: 4.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.6048, allocations: 0 / 0.5583 GB, free: 4.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.6051, allocations: 43.97 kB / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6052, allocations: 0 / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.6052, allocations: 0 / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6052, allocations: 0 / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6052, allocations: 0 / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.6057, allocations: 223.3 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.6058, allocations: 88.95 kB / 0.5586 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.6058, allocations: 64 / 0.5586 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.6064, allocations: 51.95 kB / 0.5587 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.6064, allocations: 11.98 kB / 0.5587 GB, free: 3.973 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.6065, allocations: 4 kB / 0.5587 GB, free: 3.969 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.6066, allocations: 112.1 kB / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6066, allocations: 0 / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.6071, allocations: 35.84 kB / 0.5588 GB, free: 3.824 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000186/0.6073, allocations: 107.2 kB / 0.5589 GB, free: 3.707 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.6076, allocations: 79.94 kB / 0.559 GB, free: 3.629 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6077, allocations: 4 kB / 0.559 GB, free: 3.625 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.6078, allocations: 31.98 kB / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.6083, allocations: 27.94 kB / 0.5591 GB, free: 3.566 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.6088, allocations: 193.2 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6092, allocations: 0.7084 MB / 0.56 GB, free: 2.613 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.6093, allocations: 15.44 kB / 0.56 GB, free: 2.598 MB / 395.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6093, allocations: 4 kB / 0.56 GB, free: 2.594 MB / 395.1 MB Notification: Performance of Templates: time 0.005447/0.6148, allocations: 1.736 MB / 0.5617 GB, free: 0.8672 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches