Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009755, allocations: 97.25 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3526/0.3526, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 62.02 MB / 0.5151 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002427/0.3221, allocations: 1.751 MB / 0.5169 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.323, allocations: 0.6403 MB / 0.5175 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.3231, allocations: 6.844 kB / 0.5175 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3231, allocations: 7.875 kB / 0.5175 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.3232, allocations: 11.2 kB / 0.5175 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3236, allocations: 125.2 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3238, allocations: 145.2 kB / 0.5178 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3239, allocations: 32.23 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.324, allocations: 74.27 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.3241, allocations: 55.84 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3241, allocations: 8.781 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.3242, allocations: 15.69 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.3242, allocations: 28.27 kB / 0.518 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.3243, allocations: 59.39 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3244, allocations: 134.2 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3244, allocations: 0 / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3244, allocations: 0 / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.3244, allocations: 4 kB / 0.5182 GB, free: 35.81 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.0005625/0.325, allocations: 449.3 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3251, allocations: 8.469 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3252, allocations: 26.52 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3254, allocations: 222.7 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3254, allocations: 10.22 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3254, allocations: 14.94 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.3258, allocations: 163.3 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3258, allocations: 2.844 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3258, allocations: 7.328 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3258, allocations: 10.84 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.3262, allocations: 120.3 kB / 0.5191 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.3268, allocations: 452.7 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.3274, allocations: 189.2 kB / 0.5198 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3276, allocations: 70.86 kB / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3276, allocations: 6.875 kB / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3276, allocations: 34.56 kB / 0.5199 GB, free: 34.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3276, allocations: 3.938 kB / 0.5199 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001231/0.3289, allocations: 0.5716 MB / 0.5204 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3289, allocations: 110.2 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.329, allocations: 155.9 kB / 0.5207 GB, free: 34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.329, allocations: 28.39 kB / 0.5207 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.3291, allocations: 112.5 kB / 0.5208 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3291, allocations: 29.81 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.3291, allocations: 29.2 kB / 0.5209 GB, free: 33.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.3292, allocations: 327.3 kB / 0.5212 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3294, allocations: 74.89 kB / 0.5213 GB, free: 33.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3296, allocations: 93.92 kB / 0.5213 GB, free: 33.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.33, allocations: 137.8 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.33, allocations: 3.125 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000428/0.3305, allocations: 190.1 kB / 0.5217 GB, free: 33.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3305, allocations: 6.156 kB / 0.5217 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3305, allocations: 3.938 kB / 0.5217 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3305, allocations: 0 / 0.5217 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3307, allocations: 35.33 kB / 0.5217 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3307, allocations: 11.88 kB / 0.5217 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3308, allocations: 25.52 kB / 0.5217 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3308, allocations: 7.062 kB / 0.5217 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001114/0.3309, allocations: 114.8 kB / 0.5219 GB, free: 33.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.542e-05/0.331, allocations: 59.44 kB / 0.5219 GB, free: 33.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001537/0.3312, allocations: 75.22 kB / 0.522 GB, free: 33.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.3312, allocations: 0 / 0.522 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002085/0.3314, allocations: 126.5 kB / 0.5221 GB, free: 33.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.3314, allocations: 5.812 kB / 0.5221 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.3314, allocations: 2.656 kB / 0.5221 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-06/0.3315, allocations: 3.938 kB / 0.5221 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.3315, allocations: 27.22 kB / 0.5221 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.3316, allocations: 2.594 kB / 0.5221 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.3316, allocations: 14.45 kB / 0.5222 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3317, allocations: 0 / 0.5222 GB, free: 33.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.3317, allocations: 183.2 kB / 0.5223 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3318, allocations: 11.91 kB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.3318, allocations: 26.67 kB / 0.5224 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3318, allocations: 4 kB / 0.5224 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3318, allocations: 2.781 kB / 0.5224 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3318, allocations: 288 / 0.5224 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.3325, allocations: 0.5078 MB / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3326, allocations: 0 / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3327, allocations: 38.58 kB / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3327, allocations: 0 / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3327, allocations: 3.938 kB / 0.5229 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3328, allocations: 2.781 kB / 0.5229 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3328, allocations: 3.234 kB / 0.5229 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.3345, allocations: 1.466 MB / 0.5243 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3346, allocations: 87.2 kB / 0.5244 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3346, allocations: 2.281 kB / 0.5244 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.3348, allocations: 44.14 kB / 0.5245 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3349, allocations: 9.141 kB / 0.5245 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3349, allocations: 14.69 kB / 0.5245 GB, free: 31.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.815e-05/0.335, allocations: 114.2 kB / 0.5246 GB, free: 31.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.335, allocations: 3.938 kB / 0.5246 GB, free: 31.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004411/0.3354, allocations: 46.19 kB / 0.5247 GB, free: 31.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.721e-05/0.3355, allocations: 95.88 kB / 0.5247 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.3361, allocations: 194.5 kB / 0.5249 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3361, allocations: 4 kB / 0.5249 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.3363, allocations: 82.61 kB / 0.525 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3367, allocations: 27.8 kB / 0.525 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.3372, allocations: 442.9 kB / 0.5255 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3374, allocations: 0.7107 MB / 0.5262 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.3374, allocations: 23.2 kB / 0.5262 GB, free: 29.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.3375, allocations: 15.41 kB / 0.5262 GB, free: 29.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3375, allocations: 7.938 kB / 0.5262 GB, free: 29.9 MB / 378.7 MB Notification: Performance of Templates: time 0.003893/0.3414, allocations: 2.236 MB / 0.5284 GB, free: 29.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches