Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009453/0.0009453, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001038/0.001038, allocations: 165.3 kB / 25.61 MB, free: 8.578 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.9534/0.9534, allocations: 177.1 MB / 206 MB, free: 4.453 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.1411/0.1411, allocations: 34.27 MB / 296.9 MB, free: 13.91 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.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_4.1.0_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_4.1.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.364e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005091/0.005115, allocations: 3.915 MB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.008413, allocations: 1.585 MB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.009241, allocations: 43.69 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.009671, allocations: 162.1 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.0102, allocations: 174.3 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.01148, allocations: 0.5927 MB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.01273, allocations: 1.046 MB / 386.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.01329, allocations: 291.6 kB / 387.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006918/0.01398, allocations: 0.5259 MB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.01436, allocations: 271 kB / 387.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.0145, allocations: 84 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.0146, allocations: 88 kB / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.01473, allocations: 203.1 kB / 388.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01494, allocations: 267 kB / 388.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.01561, allocations: 0.6573 MB / 389.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01562, allocations: 0 / 389.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01562, allocations: 0 / 389.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01563, allocations: 0 / 389.1 MB, free: 13.48 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001064/0.01669, allocations: 1.331 MB / 390.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01673, allocations: 8.031 kB / 390.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.01687, allocations: 176.2 kB / 390.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.01737, allocations: 0.6122 MB / 391.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.0174, allocations: 45.69 kB / 391.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.01747, allocations: 72.33 kB / 391.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.018, allocations: 0.8324 MB / 392.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01802, allocations: 4 kB / 392.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.01805, allocations: 24 kB / 392.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01806, allocations: 16 kB / 392.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.01829, allocations: 197.5 kB / 392.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.01987, allocations: 2.81 MB / 395.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.02025, allocations: 377.2 kB / 395.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.02035, allocations: 126.6 kB / 395.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.02039, allocations: 8 kB / 395.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.02041, allocations: 57.31 kB / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 1.824e-06/0.02041, allocations: 0 / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004893/0.0209, allocations: 403.5 kB / 396.2 MB, free: 6.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.02095, allocations: 342.1 kB / 396.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.02123, allocations: 0.6435 MB / 397.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.02126, allocations: 37.7 kB / 397.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.02143, allocations: 487.4 kB / 397.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.0215, allocations: 190.3 kB / 397.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.0216, allocations: 115.9 kB / 398 MB, free: 4.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.02165, allocations: 0.5042 MB / 398.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.02174, allocations: 66.27 kB / 398.6 MB, free: 3.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.02191, allocations: 489.5 kB / 399.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.02215, allocations: 308.4 kB / 399.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02215, allocations: 0 / 399.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008055/0.02295, allocations: 0.6324 MB / 400 MB, free: 1.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.02297, allocations: 8 kB / 400 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.02298, allocations: 0 / 400 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.02356, allocations: 262.8 kB / 400.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.02382, allocations: 123.8 kB / 400.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.02772, allocations: 7.633 MB / 408 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.02797, allocations: 79.53 kB / 408.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.028, allocations: 16 kB / 408.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002088/0.0282, allocations: 200.1 kB / 408.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002575/0.02846, allocations: 485.4 kB / 408.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002788/0.02874, allocations: 296.9 kB / 409.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.02874, allocations: 3.938 kB / 409.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.000592/0.02933, allocations: 486.8 kB / 409.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.02934, allocations: 11.94 kB / 409.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.02935, allocations: 4 kB / 409.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.02961, allocations: 123.7 kB / 409.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.02998, allocations: 163.8 kB / 409.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.03184, allocations: 3.767 MB / 413.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.03207, allocations: 67.66 kB / 413.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.03209, allocations: 12 kB / 413.7 MB, free: 3.309 MB / 330.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.0001708/0.03226, allocations: 304 kB / 414 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.03243, allocations: 107.4 kB / 414.1 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.03252, allocations: 90.47 kB / 414.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.03253, allocations: 12.03 kB / 414.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.03253, allocations: 0 / 414.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.03254, allocations: 3.984 kB / 414.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.03306, allocations: 416.5 kB / 414.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03306, allocations: 0 / 414.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.03333, allocations: 99.83 kB / 414.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.03333, allocations: 4 kB / 414.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.03335, allocations: 12.12 kB / 414.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.03335, allocations: 4 kB / 414.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03336, allocations: 4 kB / 414.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.03397, allocations: 0.934 MB / 415.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.03412, allocations: 127.2 kB / 415.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.03417, allocations: 12 kB / 415.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.03441, allocations: 35.97 kB / 415.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.03447, allocations: 31.94 kB / 415.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.0345, allocations: 15.98 kB / 415.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.0348, allocations: 398.8 kB / 416.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0348, allocations: 0 / 416.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006804/0.03548, allocations: 299.1 kB / 416.5 MB, free: 392 kB / 330.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.0001123/0.0356, allocations: 115.1 kB / 416.7 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.03721, allocations: 1.726 MB / 418.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.03722, allocations: 0 / 418.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.03737, allocations: 140.4 kB / 418.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.03816, allocations: 239.2 kB / 418.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.03987, allocations: 1.366 MB / 420.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.04, allocations: 166.9 kB / 420.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.04027, allocations: 92.89 kB / 420.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.04067, allocations: 266 kB / 420.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.04067, allocations: 3.938 kB / 420.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01768/0.05835, allocations: 13.79 MB / 434.4 MB, free: 14.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.3308350848965347]