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.002307/0.002307, allocations: 180.7 kB / 13.66 MB, free: 1.664 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.11/2.11, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001561/0.001561, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2729/0.2729, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.21e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5885, allocations: 87.48 MB / 0.5582 GB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.5887, allocations: 62.91 kB / 0.5583 GB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02284/0.6116, allocations: 4.586 MB / 0.5627 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6116, allocations: 0 / 0.5627 GB, free: 12.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.6117, allocations: 4 kB / 0.5628 GB, free: 12.21 MB / 378.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.0008563/0.6125, allocations: 438.5 kB / 0.5632 GB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6126, allocations: 8.031 kB / 0.5632 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.6127, allocations: 22.61 kB / 0.5632 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.6131, allocations: 222.1 kB / 0.5634 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6132, allocations: 11.34 kB / 0.5634 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.6132, allocations: 8 kB / 0.5634 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.6136, allocations: 133.7 kB / 0.5636 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6136, allocations: 0 / 0.5636 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.6136, allocations: 6.938 kB / 0.5636 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6137, allocations: 0 / 0.5636 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.6139, allocations: 58.92 kB / 0.5636 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.6152, allocations: 475.1 kB / 0.5641 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.616, allocations: 163.8 kB / 0.5642 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.6161, allocations: 27.67 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.6162, allocations: 3.312 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6162, allocations: 38.56 kB / 0.5643 GB, free: 10.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.6162, allocations: 0 / 0.5643 GB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003526/0.6166, allocations: 92.91 kB / 0.5644 GB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.6167, allocations: 106.8 kB / 0.5645 GB, free: 10.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.6169, allocations: 150.2 kB / 0.5646 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.617, allocations: 25.7 kB / 0.5647 GB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.6171, allocations: 171.5 kB / 0.5648 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.6171, allocations: 31.28 kB / 0.5648 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.6171, allocations: 7.438 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6173, allocations: 310.8 kB / 0.5652 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.6174, allocations: 22.5 kB / 0.5652 GB, free: 9.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.6175, allocations: 50.81 kB / 0.5652 GB, free: 9.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.6176, allocations: 14.25 kB / 0.5652 GB, free: 9.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6176, allocations: 4 kB / 0.5652 GB, free: 9.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002682/0.6179, allocations: 86.58 kB / 0.5653 GB, free: 9.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.618, allocations: 97.02 kB / 0.5654 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.618, allocations: 7.984 kB / 0.5654 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.618, allocations: 0 / 0.5654 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.6184, allocations: 35.97 kB / 0.5655 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6184, allocations: 4 kB / 0.5655 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.6187, allocations: 46.75 kB / 0.5655 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.6188, allocations: 0 / 0.5655 GB, free: 9.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6188, allocations: 4 kB / 0.5655 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001618/0.6189, allocations: 48.47 kB / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.619, allocations: 400 / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.619, allocations: 4 kB / 0.5656 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6192, allocations: 27.48 kB / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6192, allocations: 3.953 kB / 0.5656 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6193, allocations: 15.98 kB / 0.5656 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.6193, allocations: 3.938 kB / 0.5656 GB, free: 9.309 MB / 378.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 0.0001238/0.6195, allocations: 108.5 kB / 0.5657 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.6196, allocations: 15.91 kB / 0.5657 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.6196, allocations: 17.2 kB / 0.5657 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6197, allocations: 0 / 0.5657 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.6197, allocations: 7.953 kB / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6197, allocations: 0 / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.6201, allocations: 226.9 kB / 0.566 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6201, allocations: 0 / 0.566 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.6204, allocations: 39.97 kB / 0.566 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6204, allocations: 0 / 0.566 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6205, allocations: 7.984 kB / 0.566 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.6205, allocations: 3.984 kB / 0.566 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6205, allocations: 3.938 kB / 0.566 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.621, allocations: 224 kB / 0.5662 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.6211, allocations: 96.88 kB / 0.5663 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.6211, allocations: 4.062 kB / 0.5663 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.6217, allocations: 47.95 kB / 0.5664 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.6217, allocations: 11.75 kB / 0.5664 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.6218, allocations: 3.984 kB / 0.5664 GB, free: 8.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.6219, allocations: 122.9 kB / 0.5665 GB, free: 8.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.622, allocations: 0 / 0.5665 GB, free: 8.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.6224, allocations: 43.58 kB / 0.5665 GB, free: 8.34 MB / 378.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.0001755/0.6226, allocations: 103.2 kB / 0.5666 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.6229, allocations: 81.55 kB / 0.5667 GB, free: 8.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.623, allocations: 0 / 0.5667 GB, free: 8.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.6231, allocations: 38.75 kB / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.6235, allocations: 32.61 kB / 0.5668 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.6241, allocations: 191.7 kB / 0.567 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6244, allocations: 0.7087 MB / 0.5677 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.6246, allocations: 19.42 kB / 0.5677 GB, free: 7.172 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6246, allocations: 4 kB / 0.5677 GB, free: 7.168 MB / 378.7 MB Notification: Performance of Templates: time 0.005279/0.6299, allocations: 1.79 MB / 0.5694 GB, free: 5.398 MB / 378.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