Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 106.5 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002343/0.002343, allocations: 196.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 369.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3117, allocations: 52.13 MB / 421.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.005345/0.3171, allocations: 3.139 MB / 424.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3191, allocations: 0.9622 MB / 425.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.3194, allocations: 15.94 kB / 425.4 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.3198, allocations: 91.16 kB / 425.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.32, allocations: 103.1 kB / 425.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.3206, allocations: 239.5 kB / 425.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006802/0.3213, allocations: 0.5068 MB / 426.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.3216, allocations: 125.3 kB / 426.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.3219, allocations: 203.1 kB / 426.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.3223, allocations: 203 kB / 426.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.3224, allocations: 44 kB / 426.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.3224, allocations: 44 kB / 426.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3226, allocations: 107.5 kB / 427 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3228, allocations: 218.8 kB / 427.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.3234, allocations: 0.4951 MB / 427.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3234, allocations: 3.938 kB / 427.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3234, allocations: 0 / 427.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3234, allocations: 0 / 427.7 MB, free: 8.645 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.001416/0.3248, allocations: 0.783 MB / 428.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3248, allocations: 11.89 kB / 428.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3249, allocations: 52.61 kB / 428.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.3256, allocations: 376 kB / 429 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.3256, allocations: 29.38 kB / 429 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.3257, allocations: 43.89 kB / 429 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009766/0.3267, allocations: 446.4 kB / 429.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3267, allocations: 3.938 kB / 429.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.3267, allocations: 20 kB / 429.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3268, allocations: 12 kB / 429.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3278, allocations: 379.6 kB / 429.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3302, allocations: 1.563 MB / 431.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.331, allocations: 314.4 kB / 431.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.3315, allocations: 152.7 kB / 431.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3315, allocations: 4.5 kB / 431.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3315, allocations: 34.56 kB / 431.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.3315, allocations: 4 kB / 431.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.003432/0.335, allocations: 1.385 MB / 433.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.335, allocations: 81.11 kB / 433.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.3355, allocations: 357.6 kB / 433.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.3355, allocations: 29.7 kB / 433.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3357, allocations: 248.4 kB / 434 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3358, allocations: 126.9 kB / 434.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3359, allocations: 78.12 kB / 434.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3361, allocations: 358.7 kB / 434.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.3366, allocations: 166.5 kB / 434.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.3371, allocations: 244.8 kB / 435 MB, free: 1.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.3381, allocations: 396 kB / 435.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3381, allocations: 0 / 435.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001129/0.3392, allocations: 0.493 MB / 435.9 MB, free: 92 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3392, allocations: 8 kB / 435.9 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3392, allocations: 4 kB / 435.9 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3393, allocations: 7.938 kB / 435.9 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.3401, allocations: 207.9 kB / 436.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.342, allocations: 1.576 MB / 437.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.3423, allocations: 36.06 kB / 437.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.3424, allocations: 19.98 kB / 437.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005447/0.3429, allocations: 268.9 kB / 438 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005511/0.3435, allocations: 236.8 kB / 438.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008218/0.3443, allocations: 367.7 kB / 438.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.3443, allocations: 0 / 438.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001053/0.3453, allocations: 481 kB / 439 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.3454, allocations: 4 kB / 439 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3454, allocations: 7.938 kB / 439 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.443e-06/0.3454, allocations: 4 kB / 439 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.3459, allocations: 119.8 kB / 439.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3459, allocations: 4 kB / 439.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.3462, allocations: 44.12 kB / 439.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3462, allocations: 16 kB / 439.2 MB, free: 12.52 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.0001755/0.3464, allocations: 204.1 kB / 439.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.3465, allocations: 47.69 kB / 439.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3466, allocations: 40.25 kB / 439.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3466, allocations: 7.938 kB / 439.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.3466, allocations: 0 / 439.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3466, allocations: 4 kB / 439.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.3484, allocations: 0.9232 MB / 440.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3484, allocations: 4 kB / 440.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.3488, allocations: 83.88 kB / 440.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3488, allocations: 4 kB / 440.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3488, allocations: 8 kB / 440.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3488, allocations: 0 / 440.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3488, allocations: 0 / 440.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.3504, allocations: 0.6718 MB / 441.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3505, allocations: 140.8 kB / 441.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.3506, allocations: 8 kB / 441.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.3509, allocations: 35.95 kB / 441.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.351, allocations: 27.91 kB / 441.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.351, allocations: 12 kB / 441.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.3513, allocations: 247.2 kB / 441.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 441.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000538/0.3518, allocations: 136 kB / 441.8 MB, free: 9.812 MB / 350.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.0001459/0.352, allocations: 119.1 kB / 441.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.3538, allocations: 0.6605 MB / 442.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3538, allocations: 0 / 442.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.3543, allocations: 167.8 kB / 442.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.3549, allocations: 109.5 kB / 442.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3568, allocations: 1.053 MB / 443.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.3573, allocations: 0.8195 MB / 444.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.3574, allocations: 35.44 kB / 444.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3574, allocations: 0 / 444.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Templates: time 0.009753/0.3672, allocations: 6.004 MB / 450.8 MB, free: 0.7852 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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