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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.399/1.399, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 91.97 kB / 261.7 MB, free: 1.688 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.1927/0.1927, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.398e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4791, allocations: 86.81 MB / 0.5507 GB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.4793, allocations: 66.69 kB / 0.5508 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.4909, allocations: 4.555 MB / 0.5552 GB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.491, allocations: 0 / 0.5552 GB, free: 4.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.491, allocations: 4 kB / 0.5552 GB, free: 4.457 MB / 362.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.0005442/0.4916, allocations: 443.8 kB / 0.5556 GB, free: 3.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4916, allocations: 12.02 kB / 0.5557 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.4917, allocations: 15.81 kB / 0.5557 GB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.492, allocations: 217.3 kB / 0.5559 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.492, allocations: 4 kB / 0.5559 GB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.492, allocations: 11.89 kB / 0.5559 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.4922, allocations: 53.75 kB / 0.5559 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.4924, allocations: 122 kB / 0.5561 GB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4924, allocations: 0 / 0.5561 GB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.4924, allocations: 0.8438 kB / 0.5561 GB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4924, allocations: 4 kB / 0.5561 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.4932, allocations: 443.6 kB / 0.5565 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.4936, allocations: 157.1 kB / 0.5566 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.4937, allocations: 26.98 kB / 0.5567 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.4937, allocations: 15.97 kB / 0.5567 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.4937, allocations: 33.81 kB / 0.5567 GB, free: 2.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4937, allocations: 4 kB / 0.5567 GB, free: 2.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002452/0.494, allocations: 87.09 kB / 0.5568 GB, free: 2.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.494, allocations: 106.8 kB / 0.5569 GB, free: 2.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4941, allocations: 135 kB / 0.557 GB, free: 2.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4942, allocations: 25.7 kB / 0.557 GB, free: 2.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.4942, allocations: 115.8 kB / 0.5572 GB, free: 2.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.4943, allocations: 27.23 kB / 0.5572 GB, free: 2.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4943, allocations: 3.938 kB / 0.5572 GB, free: 2.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.4944, allocations: 323.4 kB / 0.5575 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.4944, allocations: 26.56 kB / 0.5575 GB, free: 2.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.4945, allocations: 47.12 kB / 0.5576 GB, free: 2.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.4945, allocations: 19.2 kB / 0.5576 GB, free: 2.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4945, allocations: 0 / 0.5576 GB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001413/0.4947, allocations: 90.33 kB / 0.5577 GB, free: 1.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.4947, allocations: 103.7 kB / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4948, allocations: 320 / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4948, allocations: 0 / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.4949, allocations: 43.91 kB / 0.5578 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.495, allocations: 4 kB / 0.5578 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.4951, allocations: 39.91 kB / 0.5579 GB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4951, allocations: 7.984 kB / 0.5579 GB, free: 1.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.4951, allocations: 4 kB / 0.5579 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.128e-05/0.4952, allocations: 37.61 kB / 0.5579 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.4952, allocations: 0 / 0.5579 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.4952, allocations: 4 kB / 0.5579 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.4953, allocations: 27.23 kB / 0.5579 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.4953, allocations: 0 / 0.5579 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.4954, allocations: 23.84 kB / 0.558 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.4954, allocations: 3.938 kB / 0.558 GB, free: 1.684 MB / 362.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 () * 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 7.219e-05/0.4955, allocations: 108.9 kB / 0.5581 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.4955, allocations: 7.906 kB / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.4956, allocations: 15.55 kB / 0.5581 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4956, allocations: 4 kB / 0.5581 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4956, allocations: 0 / 0.5581 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4956, allocations: 0 / 0.5581 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4958, allocations: 199.3 kB / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4958, allocations: 0 / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.496, allocations: 39.97 kB / 0.5583 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.496, allocations: 4 kB / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.496, allocations: 3.312 kB / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.496, allocations: 0 / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.496, allocations: 0 / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.4962, allocations: 221.8 kB / 0.5585 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4963, allocations: 88.95 kB / 0.5586 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4963, allocations: 3.938 kB / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4966, allocations: 52.02 kB / 0.5587 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.4966, allocations: 11.61 kB / 0.5587 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4966, allocations: 0 / 0.5587 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.4967, allocations: 112.8 kB / 0.5588 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4967, allocations: 0 / 0.5588 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.497, allocations: 35.84 kB / 0.5588 GB, free: 0.793 MB / 362.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 () * 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.0001226/0.4971, allocations: 103.2 kB / 0.5589 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.4973, allocations: 88.08 kB / 0.559 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4973, allocations: 0 / 0.559 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.4974, allocations: 30.75 kB / 0.559 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4977, allocations: 31.36 kB / 0.5591 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.4981, allocations: 159.5 kB / 0.5592 GB, free: 416 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.4983, allocations: 0.7048 MB / 0.5599 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.4985, allocations: 36.95 kB / 0.5599 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.4985, allocations: 15.38 kB / 0.56 GB, free: 15.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4985, allocations: 0 / 0.56 GB, free: 15.62 MB / 378.7 MB Notification: Performance of Templates: time 0.004675/0.5032, allocations: 1.894 MB / 0.5618 GB, free: 13.76 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches