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.002401/0.002401, allocations: 186.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 93.23 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.521/0.521, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.000473, allocations: 12 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5925, allocations: 87.57 MB / 0.5642 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5928, allocations: 63.97 kB / 0.5643 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02289/0.6157, allocations: 4.592 MB / 0.5688 GB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6158, allocations: 4 kB / 0.5688 GB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.6158, allocations: 0 / 0.5688 GB, free: 10.55 MB / 394.7 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.0008909/0.6167, allocations: 462.4 kB / 0.5692 GB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6168, allocations: 12.03 kB / 0.5692 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.6169, allocations: 19.25 kB / 0.5693 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.6172, allocations: 225.8 kB / 0.5695 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.6173, allocations: 0 / 0.5695 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.6173, allocations: 12 kB / 0.5695 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.618, allocations: 197.4 kB / 0.5697 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6181, allocations: 3.984 kB / 0.5697 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.6181, allocations: 8 kB / 0.5697 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6181, allocations: 5.031 kB / 0.5697 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.6189, allocations: 155.9 kB / 0.5698 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.6203, allocations: 468.3 kB / 0.5703 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.622, allocations: 324.7 kB / 0.5706 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.6221, allocations: 8.141 kB / 0.5706 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6221, allocations: 34.56 kB / 0.5706 GB, free: 8.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.955e-06/0.6221, allocations: 0 / 0.5706 GB, free: 8.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001473/0.6236, allocations: 281.5 kB / 0.5709 GB, free: 8.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.6237, allocations: 106.8 kB / 0.571 GB, free: 8.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.6239, allocations: 151.5 kB / 0.5712 GB, free: 7.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.624, allocations: 25.7 kB / 0.5712 GB, free: 7.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6241, allocations: 178.6 kB / 0.5714 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.6242, allocations: 23.56 kB / 0.5714 GB, free: 7.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.6242, allocations: 4 kB / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6243, allocations: 314.8 kB / 0.5717 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.6248, allocations: 85.16 kB / 0.5718 GB, free: 7.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.6253, allocations: 105.2 kB / 0.5719 GB, free: 7.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.6257, allocations: 79.97 kB / 0.5719 GB, free: 7.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6257, allocations: 4 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009551/0.6267, allocations: 203.1 kB / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.6268, allocations: 101 kB / 0.5722 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6268, allocations: 0 / 0.5722 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.6268, allocations: 4 kB / 0.5722 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.6272, allocations: 39.91 kB / 0.5723 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6272, allocations: 0 / 0.5723 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.6275, allocations: 35.97 kB / 0.5723 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6275, allocations: 7.984 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.6276, allocations: 4 kB / 0.5723 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000388/0.628, allocations: 83.95 kB / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/0.628, allocations: 0 / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.628, allocations: 0 / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.6282, allocations: 19.98 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6282, allocations: 8.594 kB / 0.5724 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.6283, allocations: 27.89 kB / 0.5725 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6284, allocations: 0 / 0.5725 GB, free: 6.578 MB / 394.7 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 (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.0001918/0.6286, allocations: 199.3 kB / 0.5726 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.6286, allocations: 15.84 kB / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.6287, allocations: 13.41 kB / 0.5727 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6287, allocations: 4 kB / 0.5727 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6288, allocations: 7.938 kB / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6288, allocations: 4.875 kB / 0.5727 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.6291, allocations: 229.5 kB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6291, allocations: 0 / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.6295, allocations: 35.97 kB / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6295, allocations: 0 / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.6295, allocations: 4 kB / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.6295, allocations: 4 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6295, allocations: 4 kB / 0.5729 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.631, allocations: 399.7 kB / 0.5733 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.6311, allocations: 89.11 kB / 0.5734 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.6312, allocations: 0 / 0.5734 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.6317, allocations: 55.95 kB / 0.5735 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.6318, allocations: 7.984 kB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.6318, allocations: 4 kB / 0.5735 GB, free: 5.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.632, allocations: 119.8 kB / 0.5736 GB, free: 5.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.632, allocations: 4 kB / 0.5736 GB, free: 5.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004538/0.6324, allocations: 43.78 kB / 0.5736 GB, free: 5.27 MB / 394.7 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 () * Number of clocked 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.000171/0.6326, allocations: 107.2 kB / 0.5737 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.6338, allocations: 228.6 kB / 0.574 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6338, allocations: 4 kB / 0.574 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.6343, allocations: 91.88 kB / 0.5741 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.6347, allocations: 31.27 kB / 0.5741 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6358, allocations: 353.1 kB / 0.5744 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6361, allocations: 0.7165 MB / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.6362, allocations: 15.44 kB / 0.5751 GB, free: 3.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6362, allocations: 0 / 0.5751 GB, free: 3.684 MB / 394.7 MB Notification: Performance of Templates: time 0.004992/0.6412, allocations: 1.773 MB / 0.5769 GB, free: 1.93 MB / 394.7 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