Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.0009962/0.0009962, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001333/0.001333, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9914/0.9914, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1302/0.1302, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.681e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.00396/0.003987, allocations: 3.974 MB / 352.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.006564, allocations: 1.605 MB / 353.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.007319, allocations: 47.62 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.007698, allocations: 158.3 kB / 353.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.008135, allocations: 198 kB / 354.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.009109, allocations: 0.5849 MB / 354.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.01006, allocations: 1.069 MB / 355.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.01047, allocations: 287.7 kB / 356 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.01101, allocations: 0.5337 MB / 356.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.01124, allocations: 274.9 kB / 356.8 MB, free: 416 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.01134, allocations: 84 kB / 356.9 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.01141, allocations: 88 kB / 357 MB, free: 244 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.0115, allocations: 195.1 kB / 357.2 MB, free: 48 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.01171, allocations: 267.1 kB / 357.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.01238, allocations: 0.665 MB / 358.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01239, allocations: 8 kB / 358.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01239, allocations: 0 / 358.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.0124, allocations: 3.984 kB / 358.1 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00151/0.01391, allocations: 1.347 MB / 359.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01395, allocations: 8.031 kB / 359.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.01413, allocations: 176.2 kB / 359.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.01492, allocations: 0.6524 MB / 360.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.01497, allocations: 49.69 kB / 360.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.01506, allocations: 64.38 kB / 360.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.01584, allocations: 0.6958 MB / 361.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.01586, allocations: 192 / 361.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.0159, allocations: 28.38 kB / 361.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.01592, allocations: 19.94 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.01623, allocations: 191.1 kB / 361.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.01861, allocations: 2.814 MB / 364.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.01914, allocations: 380.8 kB / 364.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.01929, allocations: 118.8 kB / 364.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.01934, allocations: 11.98 kB / 364.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.01937, allocations: 45.33 kB / 364.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/0.01937, allocations: 8 kB / 364.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006619/0.02003, allocations: 404 kB / 365.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.02013, allocations: 247.3 kB / 365.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.02066, allocations: 0.6513 MB / 366 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.0207, allocations: 37.7 kB / 366 MB, free: 6.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.02103, allocations: 495.4 kB / 366.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.02115, allocations: 190.3 kB / 366.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.0213, allocations: 123.9 kB / 366.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.02144, allocations: 0.4887 MB / 367.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.02157, allocations: 70.25 kB / 367.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.02182, allocations: 359.9 kB / 367.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.02217, allocations: 297.4 kB / 368 MB, free: 4.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.02217, allocations: 0 / 368 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001085/0.02325, allocations: 0.6388 MB / 368.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02327, allocations: 8 kB / 368.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.02328, allocations: 11.94 kB / 368.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/0.024, allocations: 250.6 kB / 368.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.02434, allocations: 123.9 kB / 369.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/0.02922, allocations: 7.641 MB / 376.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.02954, allocations: 67.67 kB / 376.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.02957, allocations: 16 kB / 376.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002604/0.02983, allocations: 200.1 kB / 377 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002574/0.03008, allocations: 343.9 kB / 377.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000331/0.03042, allocations: 306.3 kB / 377.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.03042, allocations: 0 / 377.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006924/0.03111, allocations: 491.2 kB / 378.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.03112, allocations: 8 kB / 378.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.03113, allocations: 4 kB / 378.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.03143, allocations: 119.3 kB / 378.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.03187, allocations: 167.8 kB / 378.4 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.03402, allocations: 3.763 MB / 382.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.03431, allocations: 71.7 kB / 382.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.03433, allocations: 16 kB / 382.2 MB, free: 5.512 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID1.I.local_reset,PID2.I.local_reset,PID3.I.local_reset,PID4.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.03451, allocations: 292 kB / 382.5 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.03468, allocations: 111.4 kB / 382.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.0348, allocations: 98.66 kB / 382.7 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.03481, allocations: 8 kB / 382.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.03481, allocations: 0 / 382.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.03482, allocations: 3.984 kB / 382.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.03551, allocations: 412.6 kB / 383.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.03551, allocations: 4 kB / 383.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.03585, allocations: 95.89 kB / 383.2 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.03585, allocations: 4 kB / 383.2 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.03588, allocations: 12 kB / 383.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.03588, allocations: 4 kB / 383.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.03588, allocations: 3.938 kB / 383.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.03662, allocations: 0.9301 MB / 384.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.0368, allocations: 143.2 kB / 384.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.03686, allocations: 16 kB / 384.3 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.03716, allocations: 35.91 kB / 384.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.03723, allocations: 31.94 kB / 384.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.03725, allocations: 12 kB / 384.4 MB, free: 3.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.03754, allocations: 406.8 kB / 384.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03754, allocations: 0 / 384.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008637/0.0384, allocations: 295.2 kB / 385.1 MB, free: 2.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.0001198/0.03852, allocations: 111.1 kB / 385.2 MB, free: 2.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.0405, allocations: 1.723 MB / 386.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04051, allocations: 0 / 386.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.0407, allocations: 143 kB / 387.1 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.04171, allocations: 237.7 kB / 387.3 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.04349, allocations: 1.407 MB / 388.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.04364, allocations: 174.8 kB / 388.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.04391, allocations: 92.98 kB / 389 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.04435, allocations: 254 kB / 389.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04435, allocations: 0 / 389.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of Templates: time 0.01881/0.06317, allocations: 13.57 MB / 402.8 MB, free: 0.7695 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.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.761278964113444]