Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.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.001557/0.001557, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001756/0.001756, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.762/1.762, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004716/0.2581, allocations: 3.167 MB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.26, allocations: 1.009 MB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.2602, allocations: 11.94 kB / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.2606, allocations: 83.17 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2608, allocations: 103.1 kB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.2614, allocations: 251 kB / 436.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.262, allocations: 0.5107 MB / 437.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.2622, allocations: 129.2 kB / 437.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.2625, allocations: 195.2 kB / 437.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.2627, allocations: 214.9 kB / 437.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.2628, allocations: 40 kB / 437.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.2629, allocations: 40 kB / 437.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.263, allocations: 103.7 kB / 437.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2632, allocations: 218.7 kB / 438.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.2637, allocations: 0.492 MB / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2637, allocations: 0 / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2638, allocations: 0 / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2638, allocations: 0 / 438.6 MB, free: 0.8438 MB / 334.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.001343/0.2651, allocations: 0.7752 MB / 439.4 MB, free: 16 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2651, allocations: 12.91 kB / 439.4 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2653, allocations: 56.22 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.2658, allocations: 372 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2658, allocations: 29.38 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.2659, allocations: 36.38 kB / 439.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.2668, allocations: 456 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.2668, allocations: 7.953 kB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.2669, allocations: 23.94 kB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2669, allocations: 11.94 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.2679, allocations: 371.6 kB / 440.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.27, allocations: 1.571 MB / 442.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.2709, allocations: 294.7 kB / 442.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.2713, allocations: 157.2 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.2713, allocations: 7.938 kB / 442.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2714, allocations: 46.5 kB / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.2714, allocations: 0 / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003318/0.2747, allocations: 1.377 MB / 444.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.2747, allocations: 106.8 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.2751, allocations: 365.6 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2752, allocations: 33.7 kB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2754, allocations: 244.3 kB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.2755, allocations: 119.1 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2756, allocations: 82.08 kB / 445.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2758, allocations: 350.8 kB / 445.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.2762, allocations: 182.4 kB / 445.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.2768, allocations: 249.7 kB / 445.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.2777, allocations: 391.9 kB / 446.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2777, allocations: 0 / 446.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001164/0.2789, allocations: 497.1 kB / 446.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2789, allocations: 12.03 kB / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2789, allocations: 0 / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2789, allocations: 4 kB / 446.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.2798, allocations: 211.7 kB / 446.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.2817, allocations: 1.576 MB / 448.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.282, allocations: 39.95 kB / 448.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.282, allocations: 19.92 kB / 448.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005568/0.2826, allocations: 273 kB / 448.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004963/0.2831, allocations: 249.7 kB / 449.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008531/0.2839, allocations: 371.7 kB / 449.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.2839, allocations: 3.938 kB / 449.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001038/0.285, allocations: 465 kB / 449.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.285, allocations: 6.969 kB / 449.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.285, allocations: 4 kB / 449.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.285, allocations: 4 kB / 449.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.2855, allocations: 120.1 kB / 450 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2855, allocations: 11.92 kB / 450 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2858, allocations: 35.91 kB / 450.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.2859, allocations: 16 kB / 450.1 MB, free: 4.664 MB / 350.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.0001668/0.286, allocations: 204.1 kB / 450.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.2861, allocations: 43.72 kB / 450.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.2862, allocations: 52.23 kB / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2862, allocations: 0 / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2862, allocations: 0 / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.2864, allocations: 136.8 kB / 450.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.2864, allocations: 8 kB / 450.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.2867, allocations: 31.97 kB / 450.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.2868, allocations: 27.95 kB / 450.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001303/0.2881, allocations: 488.5 kB / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001501/0.2896, allocations: 0.7297 MB / 451.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004318/0.29, allocations: 155.9 kB / 451.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.2903, allocations: 255.2 kB / 452.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.2903, allocations: 7.875 kB / 452.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.2922, allocations: 0.6008 MB / 452.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 0.001983/0.2942, allocations: 1.417 MB / 454.2 MB, free: 440 kB / 350.1 MB Notification: Performance of Templates: time 0.01269/0.3069, allocations: 6.72 MB / 460.9 MB, free: 9.742 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.890227183699608]