Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, 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.291/1.291, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009365/0.0009365, allocations: 101.5 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3403/0.3403, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2902, allocations: 62.01 MB / 0.5151 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003403/0.2937, allocations: 3.537 MB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.2955, allocations: 1.405 MB / 0.52 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.2958, allocations: 27.53 kB / 0.52 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.296, allocations: 81.38 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.2963, allocations: 120 kB / 0.5202 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.2971, allocations: 0.5502 MB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.2977, allocations: 0.8711 MB / 0.5216 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.298, allocations: 292.7 kB / 0.5219 GB, free: 33.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.2983, allocations: 331.5 kB / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.2986, allocations: 339.5 kB / 0.5225 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.2987, allocations: 37.28 kB / 0.5225 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.2988, allocations: 41.22 kB / 0.5226 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.2989, allocations: 132 kB / 0.5227 GB, free: 32.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.299, allocations: 327.2 kB / 0.523 GB, free: 32.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.2995, allocations: 0.7554 MB / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2995, allocations: 0 / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2995, allocations: 0 / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.2995, allocations: 0 / 0.5237 GB, free: 32.25 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001772/0.3013, allocations: 1.193 MB / 0.5249 GB, free: 31.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.3013, allocations: 15.69 kB / 0.5249 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.3018, allocations: 134 kB / 0.5251 GB, free: 31.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.3023, allocations: 0.55 MB / 0.5256 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.3024, allocations: 43 kB / 0.5256 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.3025, allocations: 48.34 kB / 0.5257 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3036, allocations: 0.7079 MB / 0.5264 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3037, allocations: 0 / 0.5264 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.3037, allocations: 25.44 kB / 0.5264 GB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3037, allocations: 12.78 kB / 0.5264 GB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.305, allocations: 0.5547 MB / 0.5269 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.3076, allocations: 2.295 MB / 0.5292 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.3091, allocations: 0.7213 MB / 0.5299 GB, free: 28.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.3099, allocations: 331.6 kB / 0.5302 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.31, allocations: 10.12 kB / 0.5302 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.31, allocations: 44.75 kB / 0.5303 GB, free: 28.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.497e-06/0.31, allocations: 0 / 0.5303 GB, free: 28.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004232/0.3143, allocations: 1.923 MB / 0.5321 GB, free: 27.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3143, allocations: 185.8 kB / 0.5323 GB, free: 27.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.3149, allocations: 0.5711 MB / 0.5329 GB, free: 27.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3149, allocations: 36.02 kB / 0.5329 GB, free: 27.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3151, allocations: 356.5 kB / 0.5332 GB, free: 26.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.3152, allocations: 175 kB / 0.5334 GB, free: 26.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3153, allocations: 105.5 kB / 0.5335 GB, free: 26.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.3154, allocations: 382 kB / 0.5339 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.3161, allocations: 300.2 kB / 0.5342 GB, free: 26.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.3169, allocations: 414.7 kB / 0.5346 GB, free: 25.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3183, allocations: 0.6582 MB / 0.5352 GB, free: 25.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3183, allocations: 7.156 kB / 0.5352 GB, free: 25.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001755/0.3201, allocations: 0.7894 MB / 0.536 GB, free: 25.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3201, allocations: 5.406 kB / 0.536 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3201, allocations: 2.625 kB / 0.536 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3202, allocations: 8.172 kB / 0.536 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.321, allocations: 194.4 kB / 0.5362 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.321, allocations: 6.656 kB / 0.5362 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.3215, allocations: 79.53 kB / 0.5363 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.3216, allocations: 23.72 kB / 0.5363 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006689/0.3222, allocations: 365.2 kB / 0.5366 GB, free: 25.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005802/0.3228, allocations: 353.2 kB / 0.537 GB, free: 25.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.3239, allocations: 0.5325 MB / 0.5375 GB, free: 24.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.3239, allocations: 5.203 kB / 0.5375 GB, free: 24.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001317/0.3252, allocations: 0.6587 MB / 0.5381 GB, free: 24.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3252, allocations: 6.5 kB / 0.5381 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3252, allocations: 2.469 kB / 0.5381 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.3252, allocations: 5.188 kB / 0.5382 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.3259, allocations: 162.9 kB / 0.5383 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3259, allocations: 22.55 kB / 0.5383 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.3264, allocations: 60.84 kB / 0.5384 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.3264, allocations: 20.39 kB / 0.5384 GB, free: 24.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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 0.0001814/0.3266, allocations: 212.9 kB / 0.5386 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3267, allocations: 74.38 kB / 0.5387 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3269, allocations: 84.28 kB / 0.5388 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3269, allocations: 9.688 kB / 0.5388 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3269, allocations: 5.844 kB / 0.5388 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3269, allocations: 2.625 kB / 0.5388 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.3296, allocations: 1.456 MB / 0.5402 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3296, allocations: 1.75 kB / 0.5402 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.3303, allocations: 150.9 kB / 0.5403 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3303, allocations: 3.062 kB / 0.5403 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3304, allocations: 10.47 kB / 0.5404 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3304, allocations: 2.531 kB / 0.5404 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3304, allocations: 1.828 kB / 0.5404 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.3414, allocations: 5.38 MB / 0.5456 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.3416, allocations: 187.8 kB / 0.5458 GB, free: 20.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.3417, allocations: 14.12 kB / 0.5458 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.3422, allocations: 75.06 kB / 0.5459 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3424, allocations: 43.16 kB / 0.5459 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.3424, allocations: 17.72 kB / 0.5459 GB, free: 20.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004678/0.3429, allocations: 399.6 kB / 0.5463 GB, free: 20.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3429, allocations: 0 / 0.5463 GB, free: 20.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001015/0.3439, allocations: 263.1 kB / 0.5466 GB, free: 20.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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 0.0001139/0.344, allocations: 112.4 kB / 0.5467 GB, free: 20.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3464, allocations: 0.9736 MB / 0.5476 GB, free: 19.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3465, allocations: 1.188 kB / 0.5476 GB, free: 19.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.3474, allocations: 355.2 kB / 0.548 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3485, allocations: 190.5 kB / 0.5482 GB, free: 19.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.352, allocations: 2.067 MB / 0.5502 GB, free: 18.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3524, allocations: 0.9394 MB / 0.5511 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.3529, allocations: 107.8 kB / 0.5512 GB, free: 17.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.3531, allocations: 56.42 kB / 0.5512 GB, free: 17.74 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3531, allocations: 1.094 kB / 0.5512 GB, free: 17.74 MB / 378.7 MB Notification: Performance of Templates: time 0.01449/0.3676, allocations: 9.232 MB / 0.5603 GB, free: 10.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches