Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009193/0.0009193, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001032/0.001032, allocations: 170.2 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 158.6 MB / 186.7 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1785/0.1785, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.749e-05, allocations: 2.312 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005299/0.005337, allocations: 3.288 MB / 352.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.008367, allocations: 1.438 MB / 353.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.009097, allocations: 35.69 kB / 353.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.009487, allocations: 122.7 kB / 353.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008873/0.01037, allocations: 170.4 kB / 354 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.01202, allocations: 0.6083 MB / 354.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.01336, allocations: 0.9754 MB / 355.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.01383, allocations: 197 kB / 355.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.0147, allocations: 0.5144 MB / 356.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.01507, allocations: 271 kB / 356.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.01519, allocations: 72 kB / 356.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.01527, allocations: 72 kB / 356.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.01538, allocations: 183.2 kB / 356.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.01556, allocations: 227.2 kB / 357 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.01624, allocations: 0.5835 MB / 357.6 MB, free: 404 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.01624, allocations: 3.938 kB / 357.6 MB, free: 400 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01625, allocations: 0 / 357.6 MB, free: 400 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.01626, allocations: 0 / 357.6 MB, free: 400 kB / 282.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.002142/0.0184, allocations: 1.192 MB / 358.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.01845, allocations: 8.031 kB / 358.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.01872, allocations: 140.3 kB / 359 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.01977, allocations: 0.5773 MB / 359.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.01983, allocations: 37.38 kB / 359.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.01992, allocations: 56.33 kB / 359.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.02105, allocations: 0.7023 MB / 360.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.02108, allocations: 192 / 360.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.02113, allocations: 24.38 kB / 360.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.02115, allocations: 15.94 kB / 360.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.02154, allocations: 170.7 kB / 360.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.02468, allocations: 2.303 MB / 362.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.02539, allocations: 319.5 kB / 363.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.02558, allocations: 107.8 kB / 363.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.02563, allocations: 12.38 kB / 363.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.02567, allocations: 41.77 kB / 363.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.657e-06/0.02567, allocations: 0 / 363.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.001996/0.02767, allocations: 0.7635 MB / 364.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.0278, allocations: 184.4 kB / 364.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.02822, allocations: 0.5811 MB / 364.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.02826, allocations: 33.7 kB / 364.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.02848, allocations: 419.8 kB / 365.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.02859, allocations: 182.4 kB / 365.5 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02872, allocations: 119.9 kB / 365.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.02889, allocations: 0.4964 MB / 366.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.02901, allocations: 86.23 kB / 366.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.02928, allocations: 337.3 kB / 366.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.02957, allocations: 274.7 kB / 366.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02957, allocations: 0 / 366.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004607/0.03003, allocations: 416.9 kB / 367.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.03006, allocations: 8 kB / 367.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03007, allocations: 0 / 367.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.03009, allocations: 8 kB / 367.2 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.03068, allocations: 159.8 kB / 367.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.03069, allocations: 7.938 kB / 367.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.03089, allocations: 56.11 kB / 367.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.03092, allocations: 19.98 kB / 367.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001863/0.0311, allocations: 200.1 kB / 367.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000217/0.03132, allocations: 340.7 kB / 368 MB, free: 5.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002551/0.03158, allocations: 287.7 kB / 368.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.03158, allocations: 0 / 368.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004061/0.03198, allocations: 384.9 kB / 368.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.032, allocations: 8 kB / 368.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.032, allocations: 4 kB / 368.6 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.03201, allocations: 4 kB / 368.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.03239, allocations: 151.8 kB / 368.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.03239, allocations: 4 kB / 368.8 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.03259, allocations: 56.11 kB / 368.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.03261, allocations: 15.98 kB / 368.8 MB, free: 4.477 MB / 298.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 0.0003249/0.03293, allocations: 307.8 kB / 369.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.03303, allocations: 91.53 kB / 369.2 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.03314, allocations: 79.44 kB / 369.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.03315, allocations: 4 kB / 369.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.03315, allocations: 11.92 kB / 369.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.03316, allocations: 0 / 369.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.03428, allocations: 0.8609 MB / 370.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.03428, allocations: 4 kB / 370.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.03461, allocations: 123.8 kB / 370.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.03462, allocations: 4 kB / 370.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.03464, allocations: 15.98 kB / 370.3 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.03465, allocations: 12 kB / 370.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.03465, allocations: 0 / 370.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.03533, allocations: 0.7143 MB / 371.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.03549, allocations: 111.5 kB / 371.2 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.03554, allocations: 19.94 kB / 371.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.03577, allocations: 51.95 kB / 371.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.03585, allocations: 51.91 kB / 371.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.03587, allocations: 8 kB / 371.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.03609, allocations: 374.8 kB / 371.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03609, allocations: 0 / 371.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005201/0.03661, allocations: 180 kB / 371.8 MB, free: 1.398 MB / 298.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.0001351/0.03675, allocations: 107.2 kB / 371.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006403/0.03739, allocations: 438.7 kB / 372.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03739, allocations: 0 / 372.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.03758, allocations: 144.4 kB / 372.5 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.03861, allocations: 229.3 kB / 372.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.04088, allocations: 1.261 MB / 374 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.04101, allocations: 146.6 kB / 374.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.0414, allocations: 97.09 kB / 374.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.04184, allocations: 262 kB / 374.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 2.805e-06/0.04184, allocations: 0 / 374.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.01542/0.05726, allocations: 10.54 MB / 385 MB, free: 4.199 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5333596118725836]