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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 112 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002902/0.2927, allocations: 1.702 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2939, allocations: 0.6487 MB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.294, allocations: 6.406 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.294, allocations: 11.86 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.2941, allocations: 18.28 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.2946, allocations: 156.8 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.2948, allocations: 163.8 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2949, allocations: 33.59 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.2951, allocations: 79.91 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2952, allocations: 61.97 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2952, allocations: 16.97 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.2953, allocations: 16.31 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.2953, allocations: 36.52 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.2954, allocations: 56.34 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2956, allocations: 139.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2956, allocations: 0 / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2956, allocations: 0 / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2956, allocations: 1.125 kB / 0.5347 GB, free: 11.23 MB / 398.1 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.0006256/0.2962, allocations: 469.1 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2963, allocations: 8.125 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.2965, allocations: 26.86 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.2968, allocations: 226.9 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2968, allocations: 11.06 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2968, allocations: 9.875 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.2972, allocations: 175.3 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2972, allocations: 1.375 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2972, allocations: 5.375 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2973, allocations: 1.375 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.2976, allocations: 131.3 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.2984, allocations: 456.2 kB / 0.5362 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.299, allocations: 190 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.2992, allocations: 71.77 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2992, allocations: 1.406 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2993, allocations: 35.88 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2993, allocations: 9.125 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001416/0.3007, allocations: 0.5615 MB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.3008, allocations: 111.9 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3009, allocations: 163 kB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.301, allocations: 26.83 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.3011, allocations: 109.7 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3011, allocations: 39.3 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.3012, allocations: 27.31 kB / 0.5375 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3013, allocations: 321.5 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3015, allocations: 79.31 kB / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3018, allocations: 94.14 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.3022, allocations: 136.3 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3022, allocations: 1.281 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004754/0.3027, allocations: 189.5 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3027, allocations: 5.375 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3027, allocations: 96 / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3027, allocations: 3.938 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3029, allocations: 37.34 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3029, allocations: 5.25 kB / 0.5383 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.303, allocations: 30.09 kB / 0.5383 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3031, allocations: 6.078 kB / 0.5383 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001456/0.3032, allocations: 118.1 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001075/0.3033, allocations: 58.17 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001699/0.3035, allocations: 75.75 kB / 0.5386 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.3035, allocations: 4.578 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002379/0.3038, allocations: 122.9 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.3038, allocations: 4.969 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.3038, allocations: 0 / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.3038, allocations: 1.125 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.3039, allocations: 20.55 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.3039, allocations: 1 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.304, allocations: 27.7 kB / 0.5387 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.304, allocations: 10.08 kB / 0.5387 GB, free: 7.945 MB / 398.1 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 8.87e-05/0.3041, allocations: 188.2 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.3042, allocations: 14.22 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3042, allocations: 20.44 kB / 0.539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3042, allocations: 1.438 kB / 0.539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3042, allocations: 3.938 kB / 0.539 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.3043, allocations: 84 kB / 0.539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3043, allocations: 9.094 kB / 0.5391 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.3046, allocations: 39.61 kB / 0.5391 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3046, allocations: 11.36 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005828/0.3052, allocations: 267.1 kB / 0.5394 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007245/0.3059, allocations: 437.5 kB / 0.5398 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002087/0.3062, allocations: 76.47 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.3063, allocations: 120.6 kB / 0.54 GB, free: 6.973 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3063, allocations: 0 / 0.54 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.3069, allocations: 204 kB / 0.5402 GB, free: 6.855 MB / 398.1 MB Notification: Performance of SimCode: time 0.000634/0.3076, allocations: 0.7033 MB / 0.5408 GB, free: 6.188 MB / 398.1 MB Notification: Performance of Templates: time 0.005331/0.3129, allocations: 2.562 MB / 0.5433 GB, free: 4.91 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches