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.001295/0.001295, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.001401/0.001401, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.54/1.54, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.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.2177/0.2177, allocations: 34.25 MB / 294.8 MB, free: 14.56 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 2.214e-06/2.214e-06, allocations: 0 / 442.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.862e-05, allocations: 6.281 kB / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005845/0.005874, allocations: 3.196 MB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.009303, allocations: 1.456 MB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/0.01002, allocations: 35.69 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.01045, allocations: 114.7 kB / 447.5 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007136/0.01117, allocations: 170.5 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2098/0.2209, allocations: 0.6467 MB / 448.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.2228, allocations: 0.9561 MB / 449.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.2233, allocations: 198.5 kB / 449.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.2243, allocations: 0.5072 MB / 449.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.2247, allocations: 267.9 kB / 450.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2248, allocations: 73.78 kB / 450.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.225, allocations: 81.42 kB / 450.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2252, allocations: 180.7 kB / 450.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.2254, allocations: 226.5 kB / 450.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2267, allocations: 0.8785 MB / 451.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2267, allocations: 0 / 451.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2267, allocations: 0 / 451.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2267, allocations: 0 / 451.6 MB, free: 14.85 MB / 366.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.002489/0.2292, allocations: 1.146 MB / 452.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2292, allocations: 9.625 kB / 452.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.2298, allocations: 142.4 kB / 452.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.2308, allocations: 0.534 MB / 453.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.2308, allocations: 38 kB / 453.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.2309, allocations: 58.5 kB / 453.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.2325, allocations: 0.92 MB / 454.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2326, allocations: 1.469 kB / 454.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.2326, allocations: 21.47 kB / 454.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.2326, allocations: 17.25 kB / 454.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.2342, allocations: 0.5584 MB / 455.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.2373, allocations: 2.009 MB / 457.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.2392, allocations: 0.6254 MB / 457.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/0.2401, allocations: 312.3 kB / 458 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.2402, allocations: 11.97 kB / 458 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2402, allocations: 43.44 kB / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.2402, allocations: 0 / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005264/0.2455, allocations: 1.877 MB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.2456, allocations: 243.7 kB / 460.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.2463, allocations: 0.5675 MB / 460.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.2464, allocations: 37.77 kB / 460.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.2466, allocations: 366.3 kB / 461.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.2468, allocations: 178.7 kB / 461.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.247, allocations: 108.5 kB / 461.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.2471, allocations: 330.4 kB / 461.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.2481, allocations: 312.5 kB / 462 MB, free: 9.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2491, allocations: 0.5736 MB / 462.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.2509, allocations: 0.6487 MB / 463.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2509, allocations: 1.812 kB / 463.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002111/0.253, allocations: 0.7986 MB / 464.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.253, allocations: 9.703 kB / 464.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.253, allocations: 2.719 kB / 464.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.253, allocations: 3.875 kB / 464.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.2541, allocations: 196 kB / 464.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2541, allocations: 6.422 kB / 464.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.2548, allocations: 85.69 kB / 464.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.2548, allocations: 23.34 kB / 464.4 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007948/0.2556, allocations: 368.2 kB / 464.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007047/0.2563, allocations: 0.5104 MB / 465.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.2576, allocations: 0.5417 MB / 465.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.2576, allocations: 4.031 kB / 465.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001606/0.2592, allocations: 0.6578 MB / 466.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2592, allocations: 10.77 kB / 466.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2592, allocations: 2.125 kB / 466.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2592, allocations: 11.75 kB / 466.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.2601, allocations: 168.5 kB / 466.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2601, allocations: 7.297 kB / 466.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.2607, allocations: 65.11 kB / 466.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.2607, allocations: 19.41 kB / 466.7 MB, free: 6.957 MB / 366.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.0002271/0.261, allocations: 214.3 kB / 466.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2611, allocations: 77.92 kB / 467 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.2613, allocations: 80.56 kB / 467.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.2613, allocations: 5.734 kB / 467.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.2613, allocations: 8.625 kB / 467.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.2614, allocations: 3.906 kB / 467.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.2642, allocations: 1.275 MB / 468.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2642, allocations: 1.188 kB / 468.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.265, allocations: 148.7 kB / 468.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.265, allocations: 11.34 kB / 468.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.2651, allocations: 19.39 kB / 468.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.2651, allocations: 3.953 kB / 468.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2651, allocations: 2.156 kB / 468.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.2679, allocations: 1.253 MB / 469.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.2682, allocations: 116.8 kB / 469.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2683, allocations: 14.41 kB / 470 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.2689, allocations: 82.23 kB / 470 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.2691, allocations: 47.08 kB / 470.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.2691, allocations: 11.19 kB / 470.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004859/0.2696, allocations: 399.8 kB / 470.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2696, allocations: 0.9688 kB / 470.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.2704, allocations: 179.9 kB / 470.7 MB, free: 5.207 MB / 366.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.000136/0.2706, allocations: 119.7 kB / 470.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.2733, allocations: 0.9488 MB / 471.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.2733, allocations: 1.375 kB / 471.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.2743, allocations: 341.2 kB / 472.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2754, allocations: 212.7 kB / 472.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2781, allocations: 1.3 MB / 473.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2785, allocations: 323.2 kB / 473.9 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005618/0.279, allocations: 95.11 kB / 474 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.2793, allocations: 59.7 kB / 474 MB, free: 3.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2793, allocations: 1.219 kB / 474 MB, free: 3.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01763/0.2969, allocations: 9.353 MB / 483.4 MB, free: 12.39 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/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: 5.39754319190979]