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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002823, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002583, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9689/0.9689, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09869/1.068, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.319/0.319, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03791/0.3569, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.7 MB " [Timeout remaining time 180] 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=5022,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=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.294e-05, allocations: 4.656 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003854/0.003887, allocations: 1.742 MB / 295.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.005272, allocations: 0.6665 MB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.005402, allocations: 7.938 kB / 296.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.00545, allocations: 11.81 kB / 296.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.005537, allocations: 11.86 kB / 296.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.006043, allocations: 163.5 kB / 296.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.006294, allocations: 155.7 kB / 296.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.006442, allocations: 25.89 kB / 296.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.00674, allocations: 111.7 kB / 297 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.006869, allocations: 51.8 kB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.006903, allocations: 16 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.006981, allocations: 16 kB / 297.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.007014, allocations: 19.94 kB / 297.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.007064, allocations: 27.94 kB / 297.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.007297, allocations: 103.6 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.007313, allocations: 0 / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007315, allocations: 0 / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.007327, allocations: 0 / 297.2 MB, free: 1.969 MB / 282.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.0006447/0.007972, allocations: 361.2 kB / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.008021, allocations: 14.55 kB / 297.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.008287, allocations: 102 kB / 297.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.008576, allocations: 165.3 kB / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.008615, allocations: 8.359 kB / 297.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.008654, allocations: 12.38 kB / 297.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.009028, allocations: 299.9 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.009042, allocations: 192 / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.009063, allocations: 4.375 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.009072, allocations: 3.938 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.009148, allocations: 27.92 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.009778, allocations: 271.9 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.009962, allocations: 74.47 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.009996, allocations: 12.86 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.01003, allocations: 4.156 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.01006, allocations: 38.55 kB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.01007, allocations: 4 kB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006367/0.0107, allocations: 241.5 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.01074, allocations: 55.41 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01088, allocations: 142.6 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.0109, allocations: 29.7 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.01097, allocations: 104 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.011, allocations: 31.72 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.01106, allocations: 29.7 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.01116, allocations: 330.7 kB / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.0112, allocations: 16.86 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.01127, allocations: 91.41 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.366e-05/0.01134, allocations: 40.81 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01134, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001394/0.01148, allocations: 72.33 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.0115, allocations: 4 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.0115, allocations: 160 / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01152, allocations: 4 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01167, allocations: 27.97 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01168, allocations: 7.984 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.01174, allocations: 20.02 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01175, allocations: 4 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.161e-05/0.01182, allocations: 88.12 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.614e-05/0.01188, allocations: 85.91 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.395e-05/0.01193, allocations: 28.83 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.01193, allocations: 3.938 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001003/0.01203, allocations: 69.61 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.01204, allocations: 4 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.01204, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/0.01205, allocations: 4 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.01213, allocations: 24.02 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.01214, allocations: 0 / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.01219, allocations: 11.98 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.0122, allocations: 7.938 kB / 300.1 MB, free: 14.75 MB / 298.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 9.392e-05/0.01229, allocations: 184.2 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01233, allocations: 19.92 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.01238, allocations: 12.78 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01238, allocations: 0 / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01238, allocations: 3.984 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01239, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.0128, allocations: 267.5 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01281, allocations: 0 / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01292, allocations: 31.95 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.01294, allocations: 11.94 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01295, allocations: 4 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01296, allocations: 8 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01296, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01296, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.01318, allocations: 197.4 kB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01321, allocations: 0 / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.01337, allocations: 31.97 kB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.01341, allocations: 7.984 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.01342, allocations: 8 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.01347, allocations: 34.44 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01347, allocations: 0 / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000275/0.01374, allocations: 39.97 kB / 301 MB, free: 13.85 MB / 298.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 0.0001257/0.01387, allocations: 80.36 kB / 301.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.01401, allocations: 80.7 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.01402, allocations: 0 / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.01406, allocations: 40.78 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.01434, allocations: 213.2 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.01512, allocations: 262.1 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.01516, allocations: 67.7 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.01522, allocations: 16.8 kB / 301.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01537, allocations: 95.33 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01537, allocations: 0 / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004756/0.02012, allocations: 2.809 MB / 304.6 MB, free: 10.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0455987034365535]