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/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.001835/0.001835, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002773/0.002773, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.53/1.53, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2339/0.2339, allocations: 46.96 MB / 361.6 MB, free: 3.926 MB / 286.1 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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,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=5093,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 83.86 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3982, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005359/0.4035, allocations: 3.191 MB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.4069, allocations: 1.456 MB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.4074, allocations: 35.69 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.4077, allocations: 114.7 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.4083, allocations: 158.6 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.4098, allocations: 0.646 MB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4112, allocations: 0.9444 MB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.4116, allocations: 204.7 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.4123, allocations: 390.4 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.4127, allocations: 338 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.4128, allocations: 72 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.413, allocations: 76 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.4132, allocations: 175.3 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.4135, allocations: 290.2 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.4145, allocations: 0.863 MB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4145, allocations: 0 / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4145, allocations: 4 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4145, allocations: 0 / 0.5706 GB, free: 11.01 MB / 414.1 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.00236/0.4169, allocations: 1.15 MB / 0.5717 GB, free: 9.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4169, allocations: 12.03 kB / 0.5718 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.4175, allocations: 140.3 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4185, allocations: 0.5324 MB / 0.5724 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.4186, allocations: 41.38 kB / 0.5725 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4187, allocations: 56.33 kB / 0.5725 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.4203, allocations: 0.9216 MB / 0.5734 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4204, allocations: 3.984 kB / 0.5734 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.4204, allocations: 24 kB / 0.5734 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4204, allocations: 12 kB / 0.5734 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.4219, allocations: 0.5581 MB / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.4252, allocations: 2.021 MB / 0.576 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.4269, allocations: 0.6116 MB / 0.5766 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.4277, allocations: 314.2 kB / 0.5769 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.4278, allocations: 12.38 kB / 0.5769 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.4278, allocations: 42.88 kB / 0.5769 GB, free: 4.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/0.4278, allocations: 0 / 0.5769 GB, free: 4.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004741/0.4326, allocations: 1.869 MB / 0.5787 GB, free: 2.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.4328, allocations: 247.6 kB / 0.579 GB, free: 2.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.4335, allocations: 0.5708 MB / 0.5795 GB, free: 1.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.4335, allocations: 33.7 kB / 0.5796 GB, free: 1.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.4339, allocations: 369.1 kB / 0.5799 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.434, allocations: 186.5 kB / 0.5801 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4342, allocations: 106.3 kB / 0.5802 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4344, allocations: 326 kB / 0.5805 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.4352, allocations: 307.3 kB / 0.5808 GB, free: 200 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4362, allocations: 0.5769 MB / 0.5814 GB, free: 15.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.4378, allocations: 0.6541 MB / 0.582 GB, free: 14.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4378, allocations: 4 kB / 0.582 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001969/0.4398, allocations: 0.7858 MB / 0.5828 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4398, allocations: 7.938 kB / 0.5828 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4398, allocations: 7.984 kB / 0.5828 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.4399, allocations: 4 kB / 0.5828 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.4408, allocations: 196 kB / 0.583 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4409, allocations: 11.94 kB / 0.583 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.4414, allocations: 87.86 kB / 0.5831 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4415, allocations: 19.98 kB / 0.5831 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007836/0.4423, allocations: 365.3 kB / 0.5834 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007789/0.443, allocations: 0.5141 MB / 0.5839 GB, free: 12.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00118/0.4442, allocations: 0.5396 MB / 0.5845 GB, free: 12.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.4442, allocations: 4 kB / 0.5845 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001468/0.4457, allocations: 0.6557 MB / 0.5851 GB, free: 11.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4457, allocations: 12.03 kB / 0.5851 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4457, allocations: 128 / 0.5851 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4457, allocations: 12 kB / 0.5851 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.4465, allocations: 163.8 kB / 0.5853 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4466, allocations: 7.938 kB / 0.5853 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.4471, allocations: 67.88 kB / 0.5854 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.4471, allocations: 20 kB / 0.5854 GB, free: 11.24 MB / 430.1 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.0002938/0.4474, allocations: 216.1 kB / 0.5856 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4476, allocations: 83.41 kB / 0.5857 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.4478, allocations: 79.28 kB / 0.5857 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4478, allocations: 8 kB / 0.5858 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4478, allocations: 3.938 kB / 0.5858 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4478, allocations: 7.984 kB / 0.5858 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.4507, allocations: 1.261 MB / 0.587 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4507, allocations: 3.938 kB / 0.587 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.4514, allocations: 151.8 kB / 0.5871 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4514, allocations: 8 kB / 0.5872 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.4514, allocations: 15.98 kB / 0.5872 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4514, allocations: 0 / 0.5872 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4514, allocations: 4 kB / 0.5872 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.4542, allocations: 1.265 MB / 0.5884 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.4545, allocations: 115.5 kB / 0.5885 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.4546, allocations: 19.92 kB / 0.5885 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.4551, allocations: 83.91 kB / 0.5886 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.4552, allocations: 43.92 kB / 0.5887 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.4553, allocations: 11.98 kB / 0.5887 GB, free: 7.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005129/0.4558, allocations: 399.1 kB / 0.589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4558, allocations: 4 kB / 0.5891 GB, free: 7.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000703/0.4565, allocations: 183.9 kB / 0.5892 GB, free: 7.223 MB / 430.1 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.0001672/0.4567, allocations: 111.2 kB / 0.5893 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.4592, allocations: 0.9535 MB / 0.5903 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4592, allocations: 0 / 0.5903 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.4601, allocations: 344.2 kB / 0.5906 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4612, allocations: 198.3 kB / 0.5908 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.4642, allocations: 1.372 MB / 0.5921 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.4646, allocations: 327.1 kB / 0.5924 GB, free: 3.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.4649, allocations: 63.41 kB / 0.5925 GB, free: 3.801 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4649, allocations: 4 kB / 0.5925 GB, free: 3.797 MB / 430.1 MB Notification: Performance of Templates: time 0.01898/0.4839, allocations: 9.261 MB / 0.6015 GB, free: 10.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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: 8.705868560355157]