Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009998/0.0009998, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009226/0.0009226, allocations: 172.4 kB / 25.61 MB, free: 8.879 MB / 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.8814/0.8814, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1379/0.1379, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.7 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.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.1.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.1.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.562e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.002599/0.002615, allocations: 3.273 MB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.004197, allocations: 1.472 MB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.004442, allocations: 35.69 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.00464, allocations: 114.7 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.004964, allocations: 170.5 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.005614, allocations: 0.6433 MB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.006112, allocations: 0.9483 MB / 385.9 MB, free: 16.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.006341, allocations: 205 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.006724, allocations: 0.5027 MB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.006901, allocations: 275 kB / 386.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.006962, allocations: 75.94 kB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.007036, allocations: 76 kB / 387 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.0071, allocations: 187.3 kB / 387.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.007196, allocations: 223.2 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.007546, allocations: 0.5874 MB / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.203e-05/0.007568, allocations: 3.984 kB / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007569, allocations: 0 / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.007575, allocations: 0 / 388 MB, free: 14.61 MB / 314.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.000934/0.008509, allocations: 1.184 MB / 389.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.00854, allocations: 8.031 kB / 389.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.008813, allocations: 180.3 kB / 389.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.009229, allocations: 0.55 MB / 390 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.009259, allocations: 41.38 kB / 390 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.009312, allocations: 60.36 kB / 390.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.009829, allocations: 0.7715 MB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.009842, allocations: 8.125 kB / 390.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.009874, allocations: 20.38 kB / 390.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.009883, allocations: 19.94 kB / 390.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.01007, allocations: 158.7 kB / 391 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.01137, allocations: 2.311 MB / 393.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.01176, allocations: 318.4 kB / 393.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01186, allocations: 108.1 kB / 393.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.01189, allocations: 8.375 kB / 393.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.01191, allocations: 45.77 kB / 393.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.01191, allocations: 0 / 393.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008922/0.0128, allocations: 0.7571 MB / 394.6 MB, free: 7.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.01283, allocations: 239.8 kB / 394.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.01307, allocations: 0.5733 MB / 395.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.0131, allocations: 29.7 kB / 395.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.01322, allocations: 419.8 kB / 395.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.01329, allocations: 186.3 kB / 396 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.01338, allocations: 119.9 kB / 396.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.01343, allocations: 0.5003 MB / 396.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01353, allocations: 82.19 kB / 396.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01369, allocations: 412.1 kB / 397.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.01392, allocations: 278.7 kB / 397.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01392, allocations: 0 / 397.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003713/0.0143, allocations: 404.8 kB / 397.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.01431, allocations: 4 kB / 397.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01431, allocations: 4 kB / 397.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.01432, allocations: 8.234 kB / 397.8 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.01476, allocations: 175.7 kB / 397.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01476, allocations: 4 kB / 398 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.01496, allocations: 51.95 kB / 398 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.01499, allocations: 23.98 kB / 398 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001462/0.01513, allocations: 200.1 kB / 398.2 MB, free: 3.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001393/0.01527, allocations: 407.5 kB / 398.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002005/0.01547, allocations: 287.8 kB / 398.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.01547, allocations: 0 / 398.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0003224/0.0158, allocations: 392.8 kB / 399.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-06/0.0158, allocations: 4.312 kB / 399.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.0158, allocations: 8 kB / 399.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-06/0.01581, allocations: 4.125 kB / 399.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.01614, allocations: 147.8 kB / 399.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01615, allocations: 15.92 kB / 399.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.01633, allocations: 43.97 kB / 399.5 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01635, allocations: 19.98 kB / 399.5 MB, free: 2.332 MB / 314.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 (limIntegrator1.local_reset,limIntegrator2.local_reset,PID1.I.local_reset,PID2.I.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 8.828e-05/0.01644, allocations: 304.2 kB / 399.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.01653, allocations: 91.53 kB / 399.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.0166, allocations: 83.27 kB / 400 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0166, allocations: 4 kB / 400 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.0166, allocations: 0 / 400 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01661, allocations: 7.984 kB / 400 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.01738, allocations: 0.8631 MB / 400.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01739, allocations: 0 / 400.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.01767, allocations: 123.8 kB / 401 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01767, allocations: 4 kB / 401 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.0177, allocations: 15.98 kB / 401 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.0177, allocations: 7.938 kB / 401 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0177, allocations: 3.938 kB / 401 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.01817, allocations: 0.7105 MB / 401.7 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.01831, allocations: 111.5 kB / 401.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.01836, allocations: 19.92 kB / 401.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.01859, allocations: 47.95 kB / 401.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.01866, allocations: 47.92 kB / 402 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.01869, allocations: 15.98 kB / 402 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.01888, allocations: 362.8 kB / 402.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01888, allocations: 4 kB / 402.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.01929, allocations: 184 kB / 402.5 MB, free: 15.28 MB / 330.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 9.116e-05/0.01938, allocations: 115.1 kB / 402.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.01988, allocations: 423.7 kB / 403 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01989, allocations: 8 kB / 403 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.02005, allocations: 148.5 kB / 403.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.02063, allocations: 215.8 kB / 403.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02188, allocations: 1.166 MB / 404.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.02197, allocations: 150.3 kB / 404.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.02223, allocations: 96.77 kB / 404.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.02262, allocations: 262 kB / 405.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02262, allocations: 0 / 405.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Templates: time 0.01169/0.0343, allocations: 10.43 MB / 415.5 MB, free: 2.375 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.085659951902926]