Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001471/0.001471, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 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.001629/0.001629, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+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_4.1.0_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_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.226, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004502/0.2305, allocations: 2.906 MB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2323, allocations: 0.9698 MB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.2326, allocations: 15.88 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2329, allocations: 87.17 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.2332, allocations: 111.1 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.2337, allocations: 235.6 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.2343, allocations: 0.5223 MB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.2346, allocations: 129.7 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.2348, allocations: 199.2 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.235, allocations: 207 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.2351, allocations: 40 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.2352, allocations: 44 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2353, allocations: 111.6 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.2355, allocations: 175 kB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.236, allocations: 0.489 MB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.236, allocations: 4 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.236, allocations: 0 / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.236, allocations: 0 / 438.6 MB, free: 464 kB / 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.00136/0.2374, allocations: 0.7077 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2374, allocations: 8.031 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.2375, allocations: 52.61 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2381, allocations: 306.2 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.2381, allocations: 29.38 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.2382, allocations: 36.38 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.2392, allocations: 0.5067 MB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.2392, allocations: 7.953 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.2392, allocations: 20 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2392, allocations: 8 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2403, allocations: 375.6 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.2424, allocations: 1.352 MB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.2432, allocations: 310.4 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.2436, allocations: 152.7 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2436, allocations: 4 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2437, allocations: 42.5 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.774e-06/0.2437, allocations: 4 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003203/0.2469, allocations: 1.232 MB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.247, allocations: 110.8 kB / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.2473, allocations: 337.6 kB / 444.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2474, allocations: 37.7 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2476, allocations: 244.7 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2477, allocations: 115 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2478, allocations: 82.08 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.248, allocations: 350.8 kB / 444.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.2485, allocations: 174.5 kB / 445.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.249, allocations: 305.1 kB / 445.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/0.2499, allocations: 392 kB / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2499, allocations: 0 / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001147/0.2511, allocations: 0.4892 MB / 446.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2511, allocations: 8 kB / 446.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2511, allocations: 0 / 446.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2511, allocations: 4 kB / 446.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.2521, allocations: 215.8 kB / 446.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.2538, allocations: 1.446 MB / 447.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2541, allocations: 43.89 kB / 448 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.2542, allocations: 16 kB / 448 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005405/0.2547, allocations: 268.9 kB / 448.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005176/0.2552, allocations: 301.2 kB / 448.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008327/0.256, allocations: 367.7 kB / 448.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.256, allocations: 0 / 448.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001048/0.2571, allocations: 469.1 kB / 449.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.2571, allocations: 8 kB / 449.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2571, allocations: 4 kB / 449.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.2571, allocations: 4 kB / 449.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.2576, allocations: 115.8 kB / 449.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2576, allocations: 8.141 kB / 449.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.258, allocations: 43.97 kB / 449.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.258, allocations: 16 kB / 449.6 MB, free: 4.871 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.000163/0.2582, allocations: 208 kB / 449.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.2582, allocations: 39.77 kB / 449.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.2583, allocations: 44.08 kB / 449.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2583, allocations: 0 / 449.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2583, allocations: 3.938 kB / 449.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.2585, allocations: 71.61 kB / 449.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.2585, allocations: 7.984 kB / 449.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2588, allocations: 31.97 kB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.2589, allocations: 23.95 kB / 450 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001316/0.2602, allocations: 492.8 kB / 450.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001476/0.2617, allocations: 0.7292 MB / 451.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004358/0.2622, allocations: 160.5 kB / 451.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.2624, allocations: 231.2 kB / 451.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Backend: time 3.01e-07/0.2624, allocations: 0 / 451.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.2642, allocations: 0.6039 MB / 452.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of SimCode: time 0.001905/0.2661, allocations: 1.409 MB / 453.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of Templates: time 0.01334/0.2795, allocations: 7.577 MB / 461.2 MB, free: 9.262 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.595682023995323]