Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.000874/0.000874, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002007, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007276/0.0007276, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.001655, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.973/0.973, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09486/1.068, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.455e-05, allocations: 5.828 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.00343/0.003454, allocations: 3.088 MB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.005133, allocations: 1.039 MB / 249.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.005367, allocations: 15.88 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.005627, allocations: 87.17 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.005817, allocations: 111 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.006234, allocations: 239.4 kB / 249.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.006664, allocations: 0.5145 MB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.006874, allocations: 122.3 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.00719, allocations: 326.3 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.007384, allocations: 155.5 kB / 250.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.007434, allocations: 44 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.007477, allocations: 40 kB / 250.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.00756, allocations: 87.67 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.007659, allocations: 107.8 kB / 251 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.008002, allocations: 302.7 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.008015, allocations: 4 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008017, allocations: 0 / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.008038, allocations: 0 / 251.3 MB, free: 7.355 MB / 250.7 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.0008663/0.008904, allocations: 0.745 MB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.008939, allocations: 8.031 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.009023, allocations: 60.89 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.009338, allocations: 277.5 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.009367, allocations: 25.38 kB / 252.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.009418, allocations: 44.36 kB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.009823, allocations: 390.7 kB / 252.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.00984, allocations: 8.125 kB / 252.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.009862, allocations: 16.38 kB / 252.8 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.009873, allocations: 15.94 kB / 252.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.01003, allocations: 125.6 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01113, allocations: 1.093 MB / 254.1 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.01141, allocations: 212.2 kB / 254.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.01147, allocations: 48.84 kB / 254.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01149, allocations: 4 kB / 254.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.01152, allocations: 38.56 kB / 254.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/0.01152, allocations: 0 / 254.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009228/0.01244, allocations: 0.6425 MB / 255 MB, free: 3.402 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.01248, allocations: 67.34 kB / 255.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.01267, allocations: 307.3 kB / 255.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01269, allocations: 29.7 kB / 255.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01279, allocations: 217.1 kB / 255.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.01284, allocations: 122.9 kB / 255.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.01292, allocations: 74.16 kB / 255.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.01302, allocations: 354.7 kB / 256.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.01308, allocations: 49.67 kB / 256.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.0132, allocations: 189.7 kB / 256.4 MB, free: 1.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01336, allocations: 197.7 kB / 256.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01336, allocations: 0 / 256.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002173/0.01358, allocations: 220.2 kB / 256.8 MB, free: 1.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01359, allocations: 8.219 kB / 256.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.0136, allocations: 7.938 kB / 256.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01361, allocations: 7.938 kB / 256.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.01406, allocations: 191.8 kB / 257 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006834/0.01475, allocations: 1.239 MB / 258.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01487, allocations: 31.92 kB / 258.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01489, allocations: 12 kB / 258.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001097/0.015, allocations: 134.8 kB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00011/0.01511, allocations: 185.8 kB / 258.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001436/0.01525, allocations: 186.6 kB / 258.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.01525, allocations: 0 / 258.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0002028/0.01545, allocations: 228.2 kB / 259 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.01546, allocations: 4 kB / 259 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01547, allocations: 4 kB / 259 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.01547, allocations: 7.938 kB / 259 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.01576, allocations: 141.4 kB / 259.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01576, allocations: 4.219 kB / 259.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01587, allocations: 35.92 kB / 259.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01588, allocations: 8 kB / 259.2 MB, free: 14.89 MB / 266.7 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 (PI.I.local_reset,integrator.local_reset,kinematicPTP.noWphase) * 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.0001024/0.01599, allocations: 204.2 kB / 259.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.01603, allocations: 35.95 kB / 259.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.01608, allocations: 44.09 kB / 259.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01608, allocations: 7.938 kB / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01608, allocations: 3.938 kB / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01609, allocations: 0 / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.01661, allocations: 0.4934 MB / 260 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01661, allocations: 0 / 260 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.01686, allocations: 91.83 kB / 260.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.01692, allocations: 43.73 kB / 260.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01693, allocations: 0 / 260.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01694, allocations: 8 kB / 260.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01694, allocations: 4 kB / 260.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01694, allocations: 4.125 kB / 260.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01723, allocations: 391.1 kB / 260.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.01726, allocations: 11.98 kB / 260.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01737, allocations: 23.98 kB / 260.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.01742, allocations: 24.19 kB / 260.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01743, allocations: 8 kB / 260.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01754, allocations: 116.7 kB / 260.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01754, allocations: 0 / 260.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.01797, allocations: 140 kB / 260.8 MB, free: 13.18 MB / 266.7 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.0001069/0.01808, allocations: 84.36 kB / 260.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.01855, allocations: 349 kB / 261.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.01856, allocations: 19.98 kB / 261.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.01864, allocations: 80.69 kB / 261.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.019, allocations: 137.1 kB / 261.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.02187, allocations: 0.8226 MB / 262.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.02195, allocations: 117.6 kB / 262.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.02211, allocations: 43.27 kB / 262.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.02231, allocations: 137.3 kB / 262.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02231, allocations: 0 / 262.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.007986/0.0303, allocations: 5.767 MB / 268.4 MB, free: 5.656 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_trunk_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.675659599713981]