Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002449/0.002449, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002955/0.002955, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3644/0.3644, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.364e-05, allocations: 4.562 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.00908/0.009114, allocations: 3.958 MB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.014, allocations: 1.577 MB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01504, allocations: 43.69 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.01578, allocations: 162.3 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009286/0.01671, allocations: 174.2 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.01873, allocations: 0.5927 MB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.02082, allocations: 1.05 MB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.02177, allocations: 291.6 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.02301, allocations: 0.522 MB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.02362, allocations: 267 kB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.02392, allocations: 88 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.02416, allocations: 88 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.02445, allocations: 199.1 kB / 386.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.02497, allocations: 263.1 kB / 386.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.02718, allocations: 1.039 MB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.02719, allocations: 4 kB / 387.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02719, allocations: 0 / 387.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.02724, allocations: 0 / 387.5 MB, free: 8.547 MB / 362.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.003048/0.03029, allocations: 1.39 MB / 388.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.03035, allocations: 12.02 kB / 388.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.03081, allocations: 176.2 kB / 389.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.03216, allocations: 0.6239 MB / 389.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.03222, allocations: 45.69 kB / 389.7 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.03235, allocations: 72.33 kB / 389.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.03411, allocations: 1.03 MB / 390.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.03413, allocations: 7.938 kB / 390.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.0342, allocations: 24 kB / 390.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.03422, allocations: 16 kB / 390.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.03542, allocations: 0.4921 MB / 391.4 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.04051, allocations: 3.237 MB / 394.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.04195, allocations: 0.6493 MB / 395.3 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.0425, allocations: 258.8 kB / 395.5 MB, free: 152 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.04258, allocations: 19.92 kB / 395.5 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.04263, allocations: 45.33 kB / 395.6 MB, free: 76 kB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.394e-06/0.04263, allocations: 4 kB / 395.6 MB, free: 72 kB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001979/0.04461, allocations: 0.7493 MB / 396.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/0.04488, allocations: 346.1 kB / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.0461, allocations: 0.8432 MB / 397.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.04616, allocations: 37.7 kB / 397.6 MB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.0467, allocations: 0.5113 MB / 398.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.04693, allocations: 202.3 kB / 398.3 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.04717, allocations: 139.9 kB / 398.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003094/0.04748, allocations: 0.5082 MB / 398.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.048, allocations: 210.2 kB / 399.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/0.04888, allocations: 0.6303 MB / 399.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.05004, allocations: 0.5804 MB / 400.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.05005, allocations: 7.938 kB / 400.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002992/0.05305, allocations: 0.9618 MB / 401.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.05307, allocations: 8 kB / 401.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.05308, allocations: 4 kB / 401.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.05472, allocations: 362.7 kB / 401.7 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.05529, allocations: 119.8 kB / 401.8 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.06648, allocations: 8.608 MB / 410.4 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.06707, allocations: 71.59 kB / 410.5 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.06714, allocations: 20.08 kB / 410.5 MB, free: 340 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007753/0.06791, allocations: 388.1 kB / 410.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008025/0.06872, allocations: 0.5991 MB / 411.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009882/0.0697, allocations: 0.532 MB / 412 MB, free: 14.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.06971, allocations: 4 kB / 412 MB, free: 14.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0018/0.07151, allocations: 0.7294 MB / 412.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.07153, allocations: 8 kB / 412.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.07153, allocations: 4 kB / 412.7 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.07218, allocations: 155.7 kB / 412.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.07294, allocations: 171.8 kB / 413 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.07789, allocations: 4.168 MB / 417.2 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.07849, allocations: 71.64 kB / 417.3 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.07854, allocations: 16 kB / 417.3 MB, free: 9.043 MB / 394.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.0003362/0.07888, allocations: 308 kB / 417.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.07918, allocations: 107.4 kB / 417.7 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.07945, allocations: 94.47 kB / 417.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.07946, allocations: 8 kB / 417.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.07947, allocations: 0 / 417.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.07948, allocations: 3.984 kB / 417.8 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.08092, allocations: 0.6719 MB / 418.5 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.08092, allocations: 0 / 418.5 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.08151, allocations: 103.8 kB / 418.6 MB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.08152, allocations: 7.938 kB / 418.6 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.08157, allocations: 12 kB / 418.6 MB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.08158, allocations: 7.984 kB / 418.6 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.08158, allocations: 0 / 418.6 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.08384, allocations: 1.344 MB / 420 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.0842, allocations: 139.1 kB / 420.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.08429, allocations: 12 kB / 420.1 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.08476, allocations: 40.03 kB / 420.1 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.08487, allocations: 35.88 kB / 420.2 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.0849, allocations: 12 kB / 420.2 MB, free: 6.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000731/0.08563, allocations: 0.5263 MB / 420.7 MB, free: 5.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08563, allocations: 0 / 420.7 MB, free: 5.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001119/0.08675, allocations: 295.2 kB / 421 MB, free: 5.273 MB / 394.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.0001734/0.08693, allocations: 107.2 kB / 421.1 MB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004638/0.09156, allocations: 2.129 MB / 423.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.09157, allocations: 0 / 423.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.09217, allocations: 280.2 kB / 423.5 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.0936, allocations: 247.5 kB / 423.8 MB, free: 2.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.09674, allocations: 1.499 MB / 425.3 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.09724, allocations: 391.4 kB / 425.6 MB, free: 460 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003892/0.09762, allocations: 92.89 kB / 425.7 MB, free: 364 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.0978, allocations: 44.5 kB / 425.8 MB, free: 320 kB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.0978, allocations: 0 / 425.8 MB, free: 320 kB / 394.7 MB Notification: Performance of Templates: time 0.02499/0.1228, allocations: 12.62 MB / 438.4 MB, free: 3.848 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.836391012999229]