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.0009038/0.0009039, allocations: 170.7 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006946/0.0006946, allocations: 81.44 kB / 271.2 MB, free: 8.254 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.2879/0.2879, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 19.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09071, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001599/0.09236, allocations: 1.364 MB / 492.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.09325, allocations: 0.6129 MB / 492.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.09333, allocations: 3.938 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.09337, allocations: 7.922 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.09347, allocations: 19.86 kB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.09382, allocations: 115.7 kB / 492.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.094, allocations: 135.7 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.09412, allocations: 37.09 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.09424, allocations: 59.77 kB / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.09434, allocations: 51.75 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.09438, allocations: 8 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.689e-05/0.09441, allocations: 8 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.09444, allocations: 23.91 kB / 493.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.09451, allocations: 77.36 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.09463, allocations: 96.02 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09464, allocations: 0 / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09465, allocations: 0 / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.09466, allocations: 4 kB / 493.4 MB, free: 8.262 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.0005738/0.09524, allocations: 443 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.09528, allocations: 12.02 kB / 493.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.09533, allocations: 16.75 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.09556, allocations: 228 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.09559, allocations: 4.312 kB / 494.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.09562, allocations: 12.38 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.09603, allocations: 192.4 kB / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.09605, allocations: 7.984 kB / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.09608, allocations: 8 kB / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.09609, allocations: 0 / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.09651, allocations: 159.8 kB / 494.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.0973, allocations: 480.2 kB / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.0979, allocations: 238.5 kB / 495.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.09813, allocations: 92.8 kB / 495.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.09817, allocations: 8.141 kB / 495.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.0982, allocations: 34.56 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.0982, allocations: 0 / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001417/0.09962, allocations: 0.654 MB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.09969, allocations: 110.7 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.09983, allocations: 170.4 kB / 496.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.09986, allocations: 25.7 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.09993, allocations: 112 kB / 496.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.09996, allocations: 27.55 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.09998, allocations: 8 kB / 496.4 MB, free: 5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1001, allocations: 318.8 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1003, allocations: 87.94 kB / 496.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1006, allocations: 110.5 kB / 496.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.101, allocations: 177 kB / 497.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.101, allocations: 0 / 497.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004899/0.1015, allocations: 221.4 kB / 497.3 MB, free: 4.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.1016, allocations: 96.94 kB / 497.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1016, allocations: 0 / 497.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1016, allocations: 0 / 497.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1018, allocations: 47.97 kB / 497.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1018, allocations: 0 / 497.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.102, allocations: 35.97 kB / 497.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.102, allocations: 4 kB / 497.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.102, allocations: 4 kB / 497.5 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002145/0.1022, allocations: 91.88 kB / 497.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.1022, allocations: 4 kB / 497.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.1022, allocations: 4 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.1023, allocations: 35.92 kB / 497.6 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-06/0.1023, allocations: 0.5469 kB / 497.6 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.1024, allocations: 11.98 kB / 497.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1024, allocations: 7.938 kB / 497.7 MB, free: 3.734 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.1026, allocations: 197.1 kB / 497.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.1026, allocations: 19.75 kB / 497.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.1027, allocations: 17.39 kB / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1027, allocations: 0 / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1027, allocations: 0 / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1027, allocations: 3.938 kB / 497.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.1036, allocations: 0.5538 MB / 498.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1036, allocations: 0 / 498.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.1037, allocations: 48.19 kB / 498.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1038, allocations: 7.875 kB / 498.5 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1038, allocations: 7.938 kB / 498.5 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1038, allocations: 0 / 498.5 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1038, allocations: 0 / 498.5 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.1045, allocations: 420 kB / 498.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1046, allocations: 81.02 kB / 499 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1046, allocations: 11.94 kB / 499 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1049, allocations: 56 kB / 499.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1049, allocations: 11.98 kB / 499.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.105, allocations: 11.98 kB / 499.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.865e-05/0.1051, allocations: 123.2 kB / 499.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1051, allocations: 0 / 499.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.1054, allocations: 32 kB / 499.2 MB, free: 2.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.000102/0.1055, allocations: 99.23 kB / 499.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.1061, allocations: 243.7 kB / 499.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1061, allocations: 0 / 499.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.1063, allocations: 92 kB / 499.7 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1067, allocations: 39.58 kB / 499.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.1073, allocations: 374.1 kB / 0.4883 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1075, allocations: 0.7088 MB / 0.489 GB, free: 448 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.1076, allocations: 19.42 kB / 0.489 GB, free: 428 kB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1076, allocations: 0 / 0.489 GB, free: 428 kB / 378.7 MB Notification: Performance of Templates: time 0.1458/0.2534, allocations: 1.86 MB / 0.4909 GB, free: 42.78 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/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_cpp_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches