Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 109.6 kB / 20.37 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 214.1 kB / 23.54 MB, free: 5.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.88 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 83.86 kB / 0.495 GB, free: 8.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3011, allocations: 65.98 MB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003164/0.3042, allocations: 1.698 MB / 0.561 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3055, allocations: 0.6634 MB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.3056, allocations: 0 / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.3057, allocations: 11.86 kB / 0.5617 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3058, allocations: 27.67 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.3063, allocations: 143.2 kB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3065, allocations: 159.6 kB / 0.562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3066, allocations: 35.56 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3068, allocations: 75.75 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3069, allocations: 71.62 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.307, allocations: 12 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.307, allocations: 16 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.3071, allocations: 35.89 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.3071, allocations: 55.72 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3074, allocations: 135.2 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3074, allocations: 0 / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3074, allocations: 4 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3074, allocations: 0 / 0.5624 GB, free: 2.07 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.0007461/0.3081, allocations: 470.7 kB / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3082, allocations: 15.97 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.3083, allocations: 24.83 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.3087, allocations: 224.2 kB / 0.5631 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3087, allocations: 8.375 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3087, allocations: 8.375 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.3092, allocations: 174.6 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3092, allocations: 0 / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3092, allocations: 12 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3092, allocations: 0 / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.3096, allocations: 119.9 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3105, allocations: 460.3 kB / 0.5639 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.3111, allocations: 190.4 kB / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3113, allocations: 72.8 kB / 0.5641 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3113, allocations: 4 kB / 0.5641 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3113, allocations: 38.55 kB / 0.5642 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.3113, allocations: 0 / 0.5642 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00152/0.3129, allocations: 0.5644 MB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.313, allocations: 110.7 kB / 0.5648 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3131, allocations: 159.4 kB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3131, allocations: 29.7 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.3132, allocations: 108.1 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.3133, allocations: 35.78 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.3133, allocations: 29.66 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3135, allocations: 326.8 kB / 0.5655 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3137, allocations: 72.8 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.3139, allocations: 86.52 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.3144, allocations: 144.7 kB / 0.5658 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3144, allocations: 4 kB / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004824/0.3148, allocations: 189.5 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3149, allocations: 7.938 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3149, allocations: 0 / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3149, allocations: 0 / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3151, allocations: 39.89 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3151, allocations: 8 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.3152, allocations: 15.98 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3152, allocations: 11.98 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001586/0.3154, allocations: 112.1 kB / 0.5662 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001321/0.3155, allocations: 63.36 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000183/0.3157, allocations: 80.92 kB / 0.5663 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.3157, allocations: 0 / 0.5663 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002499/0.316, allocations: 125.5 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.316, allocations: 4 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.316, allocations: 4 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.316, allocations: 7.984 kB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.3161, allocations: 23.98 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3161, allocations: 7.922 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.3162, allocations: 11.98 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3162, allocations: 4 kB / 0.5665 GB, free: 13.6 MB / 414.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 0.0001176/0.3163, allocations: 180.3 kB / 0.5666 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.3163, allocations: 15.91 kB / 0.5667 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.3164, allocations: 21.39 kB / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3164, allocations: 3.938 kB / 0.5667 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3164, allocations: 4 kB / 0.5667 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3164, allocations: 7.938 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.3173, allocations: 0.5031 MB / 0.5672 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3173, allocations: 3.938 kB / 0.5672 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3175, allocations: 35.97 kB / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3175, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3175, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3175, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3175, allocations: 4 kB / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.3183, allocations: 368.2 kB / 0.5676 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3184, allocations: 89.03 kB / 0.5677 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3184, allocations: 4 kB / 0.5677 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3187, allocations: 43.89 kB / 0.5677 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.3187, allocations: 3.984 kB / 0.5677 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3187, allocations: 8.062 kB / 0.5677 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.3188, allocations: 121.6 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3188, allocations: 0 / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.3191, allocations: 32 kB / 0.5679 GB, free: 12.06 MB / 414.1 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 0.0001312/0.3193, allocations: 107.2 kB / 0.568 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006088/0.3199, allocations: 187.8 kB / 0.5682 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3199, allocations: 0 / 0.5682 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.3201, allocations: 75.88 kB / 0.5682 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3205, allocations: 38.92 kB / 0.5683 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.3211, allocations: 310.2 kB / 0.5686 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3215, allocations: 0.7085 MB / 0.5692 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.3215, allocations: 23.42 kB / 0.5693 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3215, allocations: 0 / 0.5693 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Templates: time 0.003671/0.3252, allocations: 1.858 MB / 0.5711 GB, free: 8.715 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches