Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 189.3 kB / 22.92 MB, free: 5.582 MB / 14.72 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.479/1.479, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 56.39 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3118, allocations: 49.13 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004759/0.3166, allocations: 3.155 MB / 397.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.319, allocations: 1.025 MB / 398.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.3194, allocations: 14.19 kB / 398.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.3198, allocations: 87.11 kB / 398.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3201, allocations: 112.2 kB / 398.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.3207, allocations: 240.8 kB / 399.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.3214, allocations: 0.5204 MB / 399.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.3216, allocations: 125 kB / 399.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.3219, allocations: 206 kB / 400 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3222, allocations: 207.7 kB / 400.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.3222, allocations: 44.31 kB / 400.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.3223, allocations: 42.22 kB / 400.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3225, allocations: 102.5 kB / 400.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3226, allocations: 221.7 kB / 400.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.3233, allocations: 0.4906 MB / 401.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3233, allocations: 3.938 kB / 401.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3233, allocations: 0 / 401.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3233, allocations: 3.938 kB / 401.1 MB, free: 5.234 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00142/0.3248, allocations: 0.7787 MB / 401.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3248, allocations: 12.8 kB / 401.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3249, allocations: 59.22 kB / 401.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.3255, allocations: 384.9 kB / 402.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/0.3256, allocations: 28.94 kB / 402.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.3257, allocations: 36.53 kB / 402.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3268, allocations: 458.9 kB / 402.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.3268, allocations: 6.047 kB / 402.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.3269, allocations: 15.41 kB / 402.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.3269, allocations: 12.66 kB / 402.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.328, allocations: 370.8 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.3306, allocations: 1.565 MB / 404.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.3315, allocations: 305.8 kB / 405.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.332, allocations: 150.5 kB / 405.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.332, allocations: 8.484 kB / 405.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3321, allocations: 41 kB / 405.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/0.3321, allocations: 0 / 405.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003142/0.3352, allocations: 1.387 MB / 406.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3352, allocations: 81.42 kB / 406.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.3357, allocations: 358 kB / 407.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3358, allocations: 32.77 kB / 407.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3359, allocations: 253.6 kB / 407.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.336, allocations: 120.6 kB / 407.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3361, allocations: 80.31 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.3362, allocations: 348 kB / 407.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.3367, allocations: 177.4 kB / 408.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.3372, allocations: 243 kB / 408.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.3381, allocations: 399.8 kB / 408.7 MB, free: 392 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3381, allocations: 1.375 kB / 408.7 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001099/0.3392, allocations: 493 kB / 409.2 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3392, allocations: 9.859 kB / 409.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3392, allocations: 2.281 kB / 409.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3392, allocations: 9.219 kB / 409.2 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.3401, allocations: 206.9 kB / 409.4 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.342, allocations: 1.587 MB / 411 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.3424, allocations: 38.55 kB / 411 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3425, allocations: 15.09 kB / 411 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006337/0.3431, allocations: 276 kB / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005331/0.3436, allocations: 246.7 kB / 411.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009172/0.3446, allocations: 374 kB / 411.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.626e-06/0.3446, allocations: 1.094 kB / 411.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001426/0.346, allocations: 476.3 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.346, allocations: 10.78 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.346, allocations: 1.344 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.346, allocations: 3.844 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3466, allocations: 115.6 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.3466, allocations: 12.06 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.347, allocations: 37.33 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3471, allocations: 10.38 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.3474, allocations: 207.4 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.3474, allocations: 37.36 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.3476, allocations: 46.19 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3476, allocations: 16.3 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3476, allocations: 3.938 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3476, allocations: 0 / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3494, allocations: 0.9188 MB / 413.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3494, allocations: 1.812 kB / 413.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.3499, allocations: 86.8 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3499, allocations: 1.844 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3499, allocations: 11.94 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3499, allocations: 6.156 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3499, allocations: 2.969 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3513, allocations: 0.6662 MB / 414.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.3515, allocations: 147.4 kB / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3515, allocations: 7.5 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.3518, allocations: 33.39 kB / 414.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.3519, allocations: 23.12 kB / 414.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3519, allocations: 6.906 kB / 414.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.3522, allocations: 248.2 kB / 415 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3522, allocations: 1.75 kB / 415 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.3528, allocations: 141.1 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001518/0.353, allocations: 115.2 kB / 415.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.355, allocations: 0.6536 MB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.355, allocations: 0 / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.3555, allocations: 181.4 kB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.3561, allocations: 96.64 kB / 416.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3583, allocations: 1.026 MB / 417.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3588, allocations: 0.824 MB / 418.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.3591, allocations: 62.38 kB / 418.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3592, allocations: 31.44 kB / 418.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3592, allocations: 3.938 kB / 418.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of Templates: time 0.01137/0.3706, allocations: 4.88 MB / 423 MB, free: 6.52 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.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: 4.690406000241637]