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.001126/0.001126, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001001/0.001001, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.04/1.04, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.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.2705/0.2705, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.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.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 7.784e-06/7.784e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/3.5e-05, allocations: 7.094 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004349/0.004384, allocations: 3.323 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.007902, allocations: 1.472 MB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.008509, allocations: 35.69 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.0089, allocations: 114.7 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.009567, allocations: 174.4 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.011, allocations: 0.6395 MB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.01214, allocations: 0.9521 MB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.01255, allocations: 205 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/0.01337, allocations: 0.5065 MB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.01372, allocations: 267.1 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.01387, allocations: 76 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.01402, allocations: 76 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.01414, allocations: 191.2 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.01435, allocations: 219.3 kB / 387 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.01507, allocations: 0.5835 MB / 387.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.01508, allocations: 0 / 387.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01508, allocations: 0 / 387.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.01509, allocations: 0 / 387.6 MB, free: 9.227 MB / 362.7 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.001534/0.01663, allocations: 1.184 MB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.01667, allocations: 15.91 kB / 388.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.01706, allocations: 172.3 kB / 388.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.0177, allocations: 0.5579 MB / 389.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.01775, allocations: 37.38 kB / 389.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.01783, allocations: 64.33 kB / 389.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/0.01865, allocations: 0.8027 MB / 390.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.01866, allocations: 4.188 kB / 390.4 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.0187, allocations: 20.38 kB / 390.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.01872, allocations: 15.94 kB / 390.4 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.01908, allocations: 209.7 kB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.02126, allocations: 2.392 MB / 393 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.02186, allocations: 349.6 kB / 393.4 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.02205, allocations: 120 kB / 393.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.02209, allocations: 20.36 kB / 393.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.02212, allocations: 45.7 kB / 393.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.996e-06/0.02213, allocations: 0 / 393.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001576/0.0237, allocations: 1.038 MB / 394.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.02379, allocations: 247.8 kB / 394.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.02423, allocations: 0.5776 MB / 395.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.02427, allocations: 37.7 kB / 395.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.02449, allocations: 415.9 kB / 395.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.0246, allocations: 186.5 kB / 396 MB, free: 324 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02474, allocations: 108 kB / 396.1 MB, free: 208 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.02489, allocations: 0.5042 MB / 396.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.02508, allocations: 102.2 kB / 396.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.02538, allocations: 420.2 kB / 397.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.02578, allocations: 318.6 kB / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02578, allocations: 0 / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006044/0.02639, allocations: 444.9 kB / 397.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.02641, allocations: 4.25 kB / 397.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.02641, allocations: 8 kB / 397.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.02643, allocations: 4 kB / 397.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.02696, allocations: 167.8 kB / 398.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.02697, allocations: 4 kB / 398.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.02719, allocations: 55.95 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.02722, allocations: 27.92 kB / 398.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000237/0.02746, allocations: 216.1 kB / 398.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002809/0.02774, allocations: 419.5 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003376/0.02808, allocations: 323.8 kB / 399.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.02808, allocations: 0 / 399.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0005012/0.02858, allocations: 425.1 kB / 399.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.02859, allocations: 8 kB / 399.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.0286, allocations: 4 kB / 399.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.02861, allocations: 4 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.02901, allocations: 151.8 kB / 399.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.02902, allocations: 4 kB / 399.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.02922, allocations: 47.97 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.02924, allocations: 23.98 kB / 399.8 MB, free: 12.24 MB / 378.7 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.0001832/0.02943, allocations: 304.2 kB / 400.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.02953, allocations: 95.52 kB / 400.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.02964, allocations: 83.22 kB / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.02965, allocations: 7.984 kB / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.02965, allocations: 0 / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.02966, allocations: 0 / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.03091, allocations: 0.9888 MB / 401.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.03091, allocations: 0 / 401.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.03124, allocations: 124 kB / 401.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.03124, allocations: 7.938 kB / 401.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.03127, allocations: 12 kB / 401.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.03128, allocations: 7.938 kB / 401.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.03128, allocations: 3.984 kB / 401.4 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.03205, allocations: 0.7508 MB / 402.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.0322, allocations: 119.4 kB / 402.3 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.03226, allocations: 12 kB / 402.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.03249, allocations: 51.95 kB / 402.3 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.03258, allocations: 51.84 kB / 402.4 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.03261, allocations: 19.98 kB / 402.4 MB, free: 9.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.03288, allocations: 387 kB / 402.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03288, allocations: 0 / 402.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000506/0.03339, allocations: 180 kB / 402.9 MB, free: 8.984 MB / 378.7 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.0001639/0.03355, allocations: 107.2 kB / 403 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007613/0.03431, allocations: 487.4 kB / 403.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.03432, allocations: 0 / 403.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.03454, allocations: 168.2 kB / 403.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.03519, allocations: 223.2 kB / 403.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.03681, allocations: 1.168 MB / 405.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.03692, allocations: 150.5 kB / 405.2 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.03722, allocations: 92.78 kB / 405.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.03736, allocations: 60.47 kB / 405.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03736, allocations: 4 kB / 405.4 MB, free: 6.473 MB / 378.7 MB Notification: Performance of Templates: time 0.01296/0.05031, allocations: 10.02 MB / 415.4 MB, free: 12.58 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3277657269500196]