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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 104.7 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 183.1 kB / 19.37 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1822/0.1822, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3106, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003895/0.3145, allocations: 3.526 MB / 0.523 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.317, allocations: 1.389 MB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.3174, allocations: 24.16 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.3177, allocations: 112.8 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.3182, allocations: 162.9 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3194, allocations: 0.6005 MB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.3204, allocations: 0.9319 MB / 0.5261 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.3209, allocations: 298.6 kB / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.3214, allocations: 367 kB / 0.5268 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.3218, allocations: 363.6 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3219, allocations: 75.5 kB / 0.5272 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.322, allocations: 72.88 kB / 0.5273 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3222, allocations: 172.9 kB / 0.5274 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.3224, allocations: 365.3 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.3232, allocations: 0.8384 MB / 0.5286 GB, free: 13.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3232, allocations: 0 / 0.5286 GB, free: 13.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3232, allocations: 3.984 kB / 0.5286 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3232, allocations: 1.156 kB / 0.5286 GB, free: 13.47 MB / 398.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.002059/0.3253, allocations: 1.187 MB / 0.5298 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3253, allocations: 9.625 kB / 0.5298 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3255, allocations: 101 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.3263, allocations: 0.5848 MB / 0.5304 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.3264, allocations: 38.91 kB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.3265, allocations: 54.22 kB / 0.5305 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.3279, allocations: 0.7031 MB / 0.5312 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3279, allocations: 5.062 kB / 0.5312 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.328, allocations: 25.62 kB / 0.5312 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.328, allocations: 12.31 kB / 0.5313 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.3294, allocations: 0.5489 MB / 0.5318 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.3325, allocations: 2.284 MB / 0.534 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.3342, allocations: 0.7111 MB / 0.5347 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/0.335, allocations: 332.5 kB / 0.535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.335, allocations: 14.2 kB / 0.535 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3351, allocations: 38.25 kB / 0.5351 GB, free: 8.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.3351, allocations: 0 / 0.5351 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.00452/0.3396, allocations: 1.913 MB / 0.5369 GB, free: 7.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.3397, allocations: 185.6 kB / 0.5371 GB, free: 7.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.3404, allocations: 0.575 MB / 0.5377 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.3404, allocations: 36.64 kB / 0.5377 GB, free: 7.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.3407, allocations: 353.5 kB / 0.5381 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3408, allocations: 173.6 kB / 0.5382 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.341, allocations: 104.2 kB / 0.5383 GB, free: 6.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3411, allocations: 382.9 kB / 0.5387 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.3419, allocations: 301.5 kB / 0.539 GB, free: 5.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.3428, allocations: 420 kB / 0.5394 GB, free: 5.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.3444, allocations: 0.6567 MB / 0.54 GB, free: 5.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3444, allocations: 9.281 kB / 0.54 GB, free: 5.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001892/0.3463, allocations: 0.7897 MB / 0.5408 GB, free: 4.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3464, allocations: 5.562 kB / 0.5408 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3464, allocations: 6.438 kB / 0.5408 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.3464, allocations: 8.375 kB / 0.5408 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.3473, allocations: 193.7 kB / 0.541 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.3473, allocations: 4.375 kB / 0.541 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.3479, allocations: 85.19 kB / 0.5411 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3479, allocations: 24.02 kB / 0.5411 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000753/0.3487, allocations: 363.4 kB / 0.5415 GB, free: 4.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006421/0.3493, allocations: 351.5 kB / 0.5418 GB, free: 4.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.3505, allocations: 0.5391 MB / 0.5423 GB, free: 4.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.692e-06/0.3505, allocations: 5.453 kB / 0.5423 GB, free: 4.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001419/0.352, allocations: 0.6545 MB / 0.543 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.352, allocations: 4 kB / 0.543 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.352, allocations: 4 kB / 0.543 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.352, allocations: 4 kB / 0.543 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.3527, allocations: 172 kB / 0.5431 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3527, allocations: 15.88 kB / 0.5432 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.3532, allocations: 55.94 kB / 0.5432 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.3532, allocations: 20 kB / 0.5432 GB, free: 3.223 MB / 398.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.0001824/0.3534, allocations: 208.1 kB / 0.5434 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3536, allocations: 79.06 kB / 0.5435 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3538, allocations: 87.27 kB / 0.5436 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3538, allocations: 7.938 kB / 0.5436 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3538, allocations: 0 / 0.5436 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3538, allocations: 4 kB / 0.5436 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3564, allocations: 1.445 MB / 0.545 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3564, allocations: 3.984 kB / 0.545 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.3572, allocations: 151.9 kB / 0.5452 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3572, allocations: 4 kB / 0.5452 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3572, allocations: 11.98 kB / 0.5452 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3572, allocations: 0 / 0.5452 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3572, allocations: 7.938 kB / 0.5452 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.3599, allocations: 1.253 MB / 0.5464 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.3601, allocations: 188.2 kB / 0.5466 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.3602, allocations: 12 kB / 0.5466 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.3608, allocations: 83.89 kB / 0.5467 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3609, allocations: 47.88 kB / 0.5467 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3609, allocations: 12 kB / 0.5467 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.3614, allocations: 399.1 kB / 0.5471 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3614, allocations: 4 kB / 0.5471 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.3621, allocations: 184 kB / 0.5473 GB, free: 14.95 MB / 414.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.0001357/0.3622, allocations: 115.1 kB / 0.5474 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.3646, allocations: 0.9734 MB / 0.5483 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3646, allocations: 4 kB / 0.5484 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.3655, allocations: 355.8 kB / 0.5487 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3666, allocations: 214.1 kB / 0.5489 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3698, allocations: 1.515 MB / 0.5504 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.3702, allocations: 0.9218 MB / 0.5513 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.3704, allocations: 63.41 kB / 0.5513 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3704, allocations: 0 / 0.5513 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Templates: time 0.01223/0.3827, allocations: 8.842 MB / 0.56 GB, free: 1.938 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches