Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.0009835/0.0009835, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.0009747/0.0009747, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.967/0.967, allocations: 177.1 MB / 205 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 32.8 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.07e-06, allocations: 3.984 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.349e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003878/0.003911, allocations: 3.336 MB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006202, allocations: 1.461 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.006557, allocations: 35.69 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.006825, allocations: 126.6 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.007286, allocations: 162.5 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.008339, allocations: 0.6395 MB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008405/0.009179, allocations: 0.9599 MB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.00951, allocations: 201 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.01015, allocations: 0.5143 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.01043, allocations: 267 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.296e-05/0.01052, allocations: 72 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.01064, allocations: 83.92 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.01075, allocations: 175.3 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.01092, allocations: 227.3 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.01156, allocations: 0.5874 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01156, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.01157, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.01158, allocations: 4 kB / 384.8 MB, free: 11.78 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.001433/0.01301, allocations: 1.176 MB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.01307, allocations: 8.031 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.01352, allocations: 176.3 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.01429, allocations: 0.5656 MB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.088e-05/0.01436, allocations: 41.38 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.01445, allocations: 60.33 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.01553, allocations: 0.795 MB / 387.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.01555, allocations: 8.109 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.01561, allocations: 24.38 kB / 387.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.01562, allocations: 15.94 kB / 387.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.016, allocations: 201.7 kB / 387.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.01829, allocations: 2.392 MB / 390.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.01887, allocations: 350.7 kB / 390.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.01906, allocations: 124.1 kB / 390.8 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.0191, allocations: 12.38 kB / 390.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.01914, allocations: 41.77 kB / 390.8 MB, free: 5.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.006e-06/0.01914, allocations: 0 / 390.8 MB, free: 5.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001578/0.02072, allocations: 1.037 MB / 391.8 MB, free: 4.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.02083, allocations: 247.8 kB / 392.1 MB, free: 4.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.02128, allocations: 0.5776 MB / 392.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.02132, allocations: 41.69 kB / 392.7 MB, free: 3.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.02156, allocations: 411.9 kB / 393.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.02166, allocations: 186.4 kB / 393.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.02179, allocations: 108 kB / 393.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.02193, allocations: 0.4964 MB / 393.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.02212, allocations: 106.2 kB / 394 MB, free: 2.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.02246, allocations: 424.2 kB / 394.4 MB, free: 1.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.02286, allocations: 314.7 kB / 394.7 MB, free: 1.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02286, allocations: 0 / 394.7 MB, free: 1.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005907/0.02345, allocations: 456.8 kB / 395.2 MB, free: 0.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.02347, allocations: 4 kB / 395.2 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.02348, allocations: 4 kB / 395.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.0235, allocations: 4 kB / 395.2 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.02404, allocations: 167.8 kB / 395.3 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.02405, allocations: 8.25 kB / 395.3 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.02427, allocations: 51.95 kB / 395.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.0243, allocations: 27.92 kB / 395.4 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002512/0.02455, allocations: 216.1 kB / 395.6 MB, free: 364 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003115/0.02486, allocations: 423.5 kB / 396 MB, free: 15.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003514/0.02522, allocations: 315.8 kB / 396.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.02522, allocations: 0 / 396.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0005829/0.0258, allocations: 432.7 kB / 396.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.02581, allocations: 4 kB / 396.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.02582, allocations: 8.109 kB / 396.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.02583, allocations: 4 kB / 396.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.02626, allocations: 148.2 kB / 396.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02627, allocations: 15.94 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.02647, allocations: 51.95 kB / 397 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.0265, allocations: 19.98 kB / 397 MB, free: 14.79 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.0001694/0.02667, allocations: 304.2 kB / 397.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.02677, allocations: 91.53 kB / 397.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.02688, allocations: 87.25 kB / 397.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.02689, allocations: 4 kB / 397.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.0269, allocations: 4 kB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.0269, allocations: 7.984 kB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.02813, allocations: 0.9758 MB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02813, allocations: 0 / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.02847, allocations: 123.8 kB / 398.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.02847, allocations: 8 kB / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.0285, allocations: 19.98 kB / 398.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.02851, allocations: 0 / 398.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.02851, allocations: 4 kB / 398.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.02932, allocations: 0.7457 MB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.0295, allocations: 119.4 kB / 399.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.02955, allocations: 12 kB / 399.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.0298, allocations: 59.94 kB / 399.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.02993, allocations: 39.92 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.02995, allocations: 19.98 kB / 399.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00032/0.03027, allocations: 390.9 kB / 400 MB, free: 11.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.03027, allocations: 0 / 400 MB, free: 11.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005162/0.03079, allocations: 180 kB / 400.2 MB, free: 11.55 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.0001422/0.03093, allocations: 111.1 kB / 400.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.03167, allocations: 490.6 kB / 400.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.03167, allocations: 4 kB / 400.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.03189, allocations: 165.7 kB / 400.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.03256, allocations: 223.8 kB / 401.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.03438, allocations: 1.176 MB / 402.3 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.03449, allocations: 146.3 kB / 402.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.03476, allocations: 96.78 kB / 402.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.03492, allocations: 56.48 kB / 402.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.03492, allocations: 0 / 402.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of Templates: time 0.01198/0.0469, allocations: 9.409 MB / 412 MB, free: 15.77 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5228340988978744]