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.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.001324/0.001324, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001496/0.001496, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.443/1.443, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 58.58 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.003719/0.2643, allocations: 2.918 MB / 399.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2659, allocations: 0.9786 MB / 400.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2661, allocations: 21.59 kB / 400.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.2665, allocations: 86.66 kB / 400.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.2667, allocations: 105.2 kB / 400.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.2673, allocations: 249.2 kB / 401.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.2678, allocations: 0.5263 MB / 401.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.268, allocations: 115.8 kB / 401.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2683, allocations: 198.5 kB / 402 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2685, allocations: 188.7 kB / 402.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.2686, allocations: 40.88 kB / 402.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.2686, allocations: 40.78 kB / 402.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2687, allocations: 112 kB / 402.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2689, allocations: 176.5 kB / 402.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.2694, allocations: 0.5012 MB / 403.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2694, allocations: 4 kB / 403.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2694, allocations: 1.969 kB / 403.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.974e-06/0.2694, allocations: 0 / 403.1 MB, free: 5.543 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.001189/0.2706, allocations: 0.7107 MB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2706, allocations: 13.61 kB / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.2707, allocations: 58.83 kB / 403.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.2712, allocations: 308.9 kB / 404.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.2712, allocations: 28.94 kB / 404.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.2713, allocations: 37.27 kB / 404.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.2721, allocations: 481.7 kB / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.2721, allocations: 7.297 kB / 404.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2722, allocations: 14.5 kB / 404.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2722, allocations: 14.06 kB / 404.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.2731, allocations: 378.2 kB / 405.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.2749, allocations: 1.35 MB / 406.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.2756, allocations: 300 kB / 406.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.2761, allocations: 155.6 kB / 406.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.2761, allocations: 3.734 kB / 406.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2761, allocations: 37.25 kB / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.2761, allocations: 0 / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003044/0.2791, allocations: 1.253 MB / 408.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2792, allocations: 81.02 kB / 408.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.2795, allocations: 348.3 kB / 408.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2795, allocations: 31.2 kB / 408.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2797, allocations: 251.2 kB / 408.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.2797, allocations: 116.1 kB / 409 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2799, allocations: 76.02 kB / 409.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.2799, allocations: 348.1 kB / 409.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.2804, allocations: 178.3 kB / 409.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.2809, allocations: 279 kB / 409.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.2818, allocations: 392.9 kB / 410.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2818, allocations: 4 kB / 410.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001051/0.2828, allocations: 499.3 kB / 410.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2828, allocations: 5.656 kB / 410.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2828, allocations: 2.281 kB / 410.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2829, allocations: 3.594 kB / 410.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.2837, allocations: 214.6 kB / 410.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.2852, allocations: 1.438 MB / 412.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2855, allocations: 47.33 kB / 412.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.2855, allocations: 19.41 kB / 412.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005411/0.2861, allocations: 271.5 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004915/0.2866, allocations: 266.9 kB / 413 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008191/0.2874, allocations: 367.3 kB / 413.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.2874, allocations: 0 / 413.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001006/0.2884, allocations: 477.2 kB / 413.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.2884, allocations: 6.062 kB / 413.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2884, allocations: 6.094 kB / 413.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.2884, allocations: 4.156 kB / 413.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.2889, allocations: 114.4 kB / 413.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2889, allocations: 14.92 kB / 413.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2892, allocations: 34 kB / 414 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.2892, allocations: 19.19 kB / 414 MB, free: 14.49 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.00016/0.2894, allocations: 202.6 kB / 414.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.2895, allocations: 37.86 kB / 414.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.72e-05/0.2896, allocations: 49.38 kB / 414.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2896, allocations: 3.844 kB / 414.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2896, allocations: 0 / 414.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2896, allocations: 7.938 kB / 414.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.2912, allocations: 0.7941 MB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2912, allocations: 1.469 kB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.2917, allocations: 86.53 kB / 415.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.2917, allocations: 6.062 kB / 415.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.2917, allocations: 15.36 kB / 415.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2917, allocations: 3.281 kB / 415.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2917, allocations: 5.156 kB / 415.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2932, allocations: 0.6624 MB / 415.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2933, allocations: 58.11 kB / 415.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.2934, allocations: 11.69 kB / 415.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.2937, allocations: 37.2 kB / 416 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.2938, allocations: 29.23 kB / 416 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2938, allocations: 6.781 kB / 416 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.294, allocations: 239.6 kB / 416.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.294, allocations: 0 / 416.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005313/0.2946, allocations: 135.2 kB / 416.4 MB, free: 12.93 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.000121/0.2947, allocations: 108.7 kB / 416.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.2966, allocations: 0.6511 MB / 417.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2966, allocations: 448 / 417.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.2971, allocations: 180.1 kB / 417.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.2977, allocations: 113.3 kB / 417.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2995, allocations: 1.022 MB / 418.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2997, allocations: 220.5 kB / 418.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.2999, allocations: 59.72 kB / 418.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.3, allocations: 28.09 kB / 418.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3, allocations: 1.375 kB / 418.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01075/0.3108, allocations: 5.293 MB / 424 MB, free: 7.32 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.717544427141547]