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.001371/0.001371, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001234/0.001234, allocations: 169 kB / 24.24 MB, free: 316 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 1.024/1.024, allocations: 158.6 MB / 186 MB, free: 2.633 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.1504/0.1504, allocations: 32.37 MB / 270.7 MB, free: 14.74 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 1.022e-06/1.022e-06, allocations: 0 / 347.6 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.433e-05, allocations: 12.22 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.002972/0.002986, allocations: 4.036 MB / 351.7 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004648, allocations: 1.605 MB / 353.3 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.00493, allocations: 47.62 kB / 353.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.005154, allocations: 162.2 kB / 353.5 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.005387, allocations: 198.1 kB / 353.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.006003, allocations: 0.581 MB / 354.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.006564, allocations: 1.066 MB / 355.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.006859, allocations: 295.7 kB / 355.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.007159, allocations: 0.5337 MB / 356.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007329, allocations: 278.9 kB / 356.4 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.007399, allocations: 84 kB / 356.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.00745, allocations: 88 kB / 356.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.00752, allocations: 195.1 kB / 356.8 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.007635, allocations: 267.1 kB / 357.1 MB, free: 316 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.008109, allocations: 0.665 MB / 357.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.008111, allocations: 0 / 357.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008112, allocations: 4 kB / 357.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.008119, allocations: 0 / 357.7 MB, free: 15.64 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.001132/0.009251, allocations: 1.335 MB / 359.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.009282, allocations: 8.031 kB / 359.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.009435, allocations: 172.2 kB / 359.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.01004, allocations: 0.6563 MB / 359.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.01007, allocations: 53.69 kB / 359.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.01013, allocations: 64.38 kB / 360 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.01109, allocations: 0.7272 MB / 360.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.0111, allocations: 4.125 kB / 360.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.01114, allocations: 32.36 kB / 360.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01116, allocations: 23.94 kB / 360.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.01153, allocations: 235.4 kB / 361 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.01342, allocations: 2.919 MB / 363.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.01394, allocations: 415.9 kB / 364.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01412, allocations: 134.7 kB / 364.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.01416, allocations: 12 kB / 364.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01418, allocations: 49.31 kB / 364.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.613e-06/0.01418, allocations: 0 / 364.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006559/0.01484, allocations: 456 kB / 365 MB, free: 8.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.01492, allocations: 235.3 kB / 365.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.01539, allocations: 0.6713 MB / 365.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.01543, allocations: 37.7 kB / 365.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.01566, allocations: 487.5 kB / 366.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.01575, allocations: 194.3 kB / 366.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01585, allocations: 112 kB / 366.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01596, allocations: 0.4926 MB / 367.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.01638, allocations: 94.25 kB / 367.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.01663, allocations: 363.9 kB / 367.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.017, allocations: 337.8 kB / 368 MB, free: 4.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01701, allocations: 4 kB / 368 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009739/0.01798, allocations: 0.6701 MB / 368.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01799, allocations: 11.94 kB / 368.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.018, allocations: 3.938 kB / 368.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.01867, allocations: 266.8 kB / 368.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.01894, allocations: 127.8 kB / 369 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/0.02321, allocations: 7.779 MB / 376.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.02346, allocations: 67.59 kB / 376.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.0235, allocations: 20 kB / 376.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002754/0.02378, allocations: 212.1 kB / 377.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002617/0.02404, allocations: 363.9 kB / 377.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003606/0.0244, allocations: 338.7 kB / 377.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.0244, allocations: 0 / 377.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006712/0.02507, allocations: 0.5224 MB / 378.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.02508, allocations: 4 kB / 378.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.02509, allocations: 8 kB / 378.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.02536, allocations: 119.5 kB / 378.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.02571, allocations: 163.8 kB / 378.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.0279, allocations: 3.836 MB / 382.5 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.02807, allocations: 63.64 kB / 382.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.02809, allocations: 19.94 kB / 382.5 MB, free: 5.277 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 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.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.0001498/0.02824, allocations: 300 kB / 382.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.02836, allocations: 107.4 kB / 382.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.02845, allocations: 98.75 kB / 383 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.02846, allocations: 8 kB / 383 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.02846, allocations: 0 / 383 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.02847, allocations: 7.922 kB / 383 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.02899, allocations: 0.5 MB / 383.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.029, allocations: 4.188 kB / 383.5 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.02926, allocations: 99.88 kB / 383.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.02927, allocations: 4 kB / 383.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.02929, allocations: 12 kB / 383.7 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02929, allocations: 4 kB / 383.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02929, allocations: 7.938 kB / 383.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.03005, allocations: 0.9746 MB / 384.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.0302, allocations: 135.2 kB / 384.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.03024, allocations: 12 kB / 384.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.03045, allocations: 27.97 kB / 384.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.03053, allocations: 39.88 kB / 384.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.03054, allocations: 16 kB / 384.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.03085, allocations: 438.9 kB / 385.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03085, allocations: 0 / 385.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005822/0.03144, allocations: 299.2 kB / 385.6 MB, free: 2.152 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.000131/0.03157, allocations: 103.2 kB / 385.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.03329, allocations: 1.769 MB / 387.5 MB, free: 168 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.03329, allocations: 3.938 kB / 387.5 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.03348, allocations: 155 kB / 387.6 MB, free: 8 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.03428, allocations: 253 kB / 387.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.03599, allocations: 1.403 MB / 389.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.03611, allocations: 170.9 kB / 389.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.0363, allocations: 89.03 kB / 389.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.03641, allocations: 48.5 kB / 389.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03641, allocations: 0 / 389.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of Templates: time 0.01437/0.05078, allocations: 12.69 MB / 402.3 MB, free: 1.371 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.695384336169809]