Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2882, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003179/0.2914, allocations: 1.658 MB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2926, allocations: 0.6245 MB / 0.564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.2927, allocations: 7.938 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.2928, allocations: 7.875 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2929, allocations: 23.78 kB / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2933, allocations: 151.4 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.2935, allocations: 163.6 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2937, allocations: 31.75 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2938, allocations: 75.75 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.294, allocations: 67.69 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.294, allocations: 12 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.2941, allocations: 16 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.2941, allocations: 35.84 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.2942, allocations: 51.78 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2944, allocations: 143.1 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2944, allocations: 0 / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2944, allocations: 0 / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2944, allocations: 0 / 0.5648 GB, free: 1.102 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.0007393/0.2952, allocations: 389.6 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2952, allocations: 12.03 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2954, allocations: 24.83 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.2957, allocations: 164 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2957, allocations: 8.375 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.2957, allocations: 4.375 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.2962, allocations: 338.6 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2962, allocations: 0 / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2963, allocations: 7.938 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2963, allocations: 8 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.2967, allocations: 119.8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.2975, allocations: 376 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.2981, allocations: 194.4 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.2983, allocations: 68.8 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2983, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2983, allocations: 38.56 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2983, allocations: 0 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00141/0.2997, allocations: 496.9 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.2998, allocations: 106.8 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3, allocations: 150.1 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3, allocations: 29.7 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.3001, allocations: 116 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3001, allocations: 35.69 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.3002, allocations: 29.7 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3003, allocations: 322.8 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.3005, allocations: 72.78 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.3008, allocations: 141.9 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.3012, allocations: 145 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3012, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004875/0.3017, allocations: 189.5 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3017, allocations: 6.656 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3017, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3017, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3019, allocations: 39.89 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3019, allocations: 7.938 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.302, allocations: 19.98 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3021, allocations: 11.98 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001509/0.3022, allocations: 112.1 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001452/0.3024, allocations: 113.9 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001835/0.3025, allocations: 76.7 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.3025, allocations: 0 / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002581/0.3028, allocations: 125.6 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.3028, allocations: 11.94 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.3028, allocations: 384 / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.3028, allocations: 0 / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3029, allocations: 19.98 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-06/0.3029, allocations: 0 / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.303, allocations: 19.86 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.303, allocations: 8 kB / 0.5688 GB, free: 12.71 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.0001118/0.3031, allocations: 184.3 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3032, allocations: 7.953 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.3032, allocations: 20.7 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3032, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3032, allocations: 3.938 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3033, allocations: 4 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.3041, allocations: 442.9 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3041, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.3043, allocations: 35.91 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3043, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3043, allocations: 11.92 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3043, allocations: 0 / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3043, allocations: 4.031 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.3051, allocations: 360.1 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.3051, allocations: 7.984 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3051, allocations: 7.922 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3054, allocations: 39.95 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.3054, allocations: 7.984 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3055, allocations: 4 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.3055, allocations: 115.2 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3055, allocations: 4.062 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.3059, allocations: 32 kB / 0.57 GB, free: 11.38 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.0001086/0.306, allocations: 95.19 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005896/0.3066, allocations: 191.8 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3066, allocations: 4.406 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.3068, allocations: 72.5 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3072, allocations: 47.89 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.3078, allocations: 288.8 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.3079, allocations: 89.62 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.685e-05/0.308, allocations: 24.34 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.308, allocations: 19.44 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.308, allocations: 0 / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Templates: time 0.005884/0.3139, allocations: 2.523 MB / 0.5733 GB, free: 8.035 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.816383315992425]