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.001214/0.001214, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001742/0.002956, allocations: 449.6 kB / 10.32 MB, free: 392 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.0009875/0.0009875, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002215, allocations: 475.5 kB / 11.66 MB, free: 2.516 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 1.018/1.018, allocations: 177.1 MB / 189.5 MB, free: 3.602 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2314/1.25, allocations: 53.74 MB / 243.3 MB, free: 2.082 MB / 234.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_PID_Controller",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_PID_Controller",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 244.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.576e-05, allocations: 3.719 kB / 244.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.005302/0.005327, allocations: 3.098 MB / 247.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.008034, allocations: 1.018 MB / 248.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.008526, allocations: 20.84 kB / 248.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.00898, allocations: 83.17 kB / 248.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.009434, allocations: 115.6 kB / 248.8 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.01041, allocations: 231.5 kB / 249 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.01135, allocations: 0.5145 MB / 249.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.01174, allocations: 134.2 kB / 249.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.01236, allocations: 319.3 kB / 250 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.01273, allocations: 163.5 kB / 250.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.437e-05/0.01283, allocations: 40 kB / 250.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.01291, allocations: 40.59 kB / 250.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.01305, allocations: 80.38 kB / 250.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.01322, allocations: 107.8 kB / 250.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.01386, allocations: 311.3 kB / 250.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.22e-05/0.01388, allocations: 3.375 kB / 250.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.01388, allocations: 3.938 kB / 250.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.01391, allocations: 0 / 250.7 MB, free: 10.63 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.001478/0.01539, allocations: 0.6483 MB / 251.4 MB, free: 9.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.01546, allocations: 8.031 kB / 251.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.01557, allocations: 80.06 kB / 251.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.01571, allocations: 60.89 kB / 251.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.01624, allocations: 276 kB / 251.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.01629, allocations: 25.38 kB / 251.8 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.01637, allocations: 44.31 kB / 251.9 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.01697, allocations: 395.4 kB / 252.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.017, allocations: 6.344 kB / 252.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01703, allocations: 24.11 kB / 252.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01705, allocations: 12 kB / 252.3 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.01731, allocations: 109.7 kB / 252.4 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.01918, allocations: 1.179 MB / 253.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.0196, allocations: 200.3 kB / 253.8 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.0197, allocations: 44.84 kB / 253.8 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.01974, allocations: 4.5 kB / 253.8 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.01978, allocations: 38.56 kB / 253.9 MB, free: 7.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.01978, allocations: 0 / 253.9 MB, free: 7.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001326/0.02111, allocations: 0.6373 MB / 254.5 MB, free: 6.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.02118, allocations: 106.8 kB / 254.6 MB, free: 6.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.0215, allocations: 327.2 kB / 254.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.02153, allocations: 33.7 kB / 255 MB, free: 6.121 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.02169, allocations: 209.2 kB / 255.2 MB, free: 5.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.02178, allocations: 118.9 kB / 255.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.02191, allocations: 82.11 kB / 255.4 MB, free: 5.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.02206, allocations: 354.7 kB / 255.7 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.02218, allocations: 57.64 kB / 255.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.02237, allocations: 185.7 kB / 255.9 MB, free: 5.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.02264, allocations: 196.5 kB / 256.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02264, allocations: 0 / 256.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003812/0.02302, allocations: 224.2 kB / 256.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.02304, allocations: 7.938 kB / 256.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.02305, allocations: 8 kB / 256.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.02307, allocations: 4 kB / 256.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.02382, allocations: 202.8 kB / 256.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.02487, allocations: 1.262 MB / 257.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.02509, allocations: 35.95 kB / 257.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.02512, allocations: 8 kB / 257.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001739/0.02529, allocations: 130.8 kB / 258 MB, free: 2.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001836/0.02548, allocations: 193.7 kB / 258.2 MB, free: 2.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003612/0.02584, allocations: 186.6 kB / 258.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.02584, allocations: 0 / 258.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0004248/0.02626, allocations: 224 kB / 258.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.02627, allocations: 4 kB / 258.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.02628, allocations: 4 kB / 258.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.02629, allocations: 7.984 kB / 258.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.02662, allocations: 148 kB / 258.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02663, allocations: 4 kB / 258.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.02675, allocations: 23.98 kB / 258.8 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.02676, allocations: 12 kB / 258.8 MB, free: 2.008 MB / 250.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.0001205/0.02688, allocations: 204.1 kB / 259 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.02693, allocations: 31.97 kB / 259 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.02699, allocations: 56.17 kB / 259.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02699, allocations: 7.938 kB / 259.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.02699, allocations: 0 / 259.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.027, allocations: 0 / 259.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.0276, allocations: 0.5488 MB / 259.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.0276, allocations: 0 / 259.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.02783, allocations: 91.88 kB / 259.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02783, allocations: 4.125 kB / 259.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.02785, allocations: 8 kB / 259.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.02785, allocations: 8 kB / 259.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02785, allocations: 0 / 259.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.02817, allocations: 391.1 kB / 260.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.02824, allocations: 39.75 kB / 260.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.02826, allocations: 4 kB / 260.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.02837, allocations: 27.97 kB / 260.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.02844, allocations: 24.2 kB / 260.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.02845, allocations: 15.92 kB / 260.2 MB, free: 496 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.02855, allocations: 124.7 kB / 260.4 MB, free: 368 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02855, allocations: 0 / 260.4 MB, free: 368 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.02904, allocations: 136 kB / 260.5 MB, free: 232 kB / 250.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.0005021/0.02955, allocations: 0.8383 MB / 261.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.03001, allocations: 336.7 kB / 261.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.03002, allocations: 4 kB / 261.7 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.0301, allocations: 80.69 kB / 261.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.03047, allocations: 117.5 kB / 261.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.03287, allocations: 2.279 MB / 264.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/0.03294, allocations: 109.7 kB / 264.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.0331, allocations: 55.23 kB / 264.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.03339, allocations: 249.2 kB / 264.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.0334, allocations: 0 / 264.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03721/0.0706, allocations: 14.05 MB / 278.6 MB, free: 14.02 MB / 282.7 MB Notification: FMU-only work: backend 0.000399, simCode 0.001018, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/0.1442, allocations: 1.373 MB / 280 MB, free: 12.58 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.299/3.443, allocations: 11.84 kB / 280 MB, free: 12.57 MB / 282.7 MB " [Timeout remaining time 657] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_PID_Controller.fmu) > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 252.0] 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 (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode_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 (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_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] "" Variables in the reference:time,PI.I.y,inertia1.phi,inertia1.w,integrator.y,spring.phi_rel,spring.w_rel Variables in the result:PI.Dzero.k,PI.Dzero.y,PI.FFzero.k,PI.FFzero.y,PI.I.initType,PI.I.k,PI.I.u,PI.I.use_reset,PI.I.use_set,PI.I.y,PI.I.y_start,PI.Nd,PI.Ni,PI.P.k,PI.P.u,PI.P.y,PI.Td,PI.Ti,PI.addFF.k1,PI.addFF.k2,PI.addFF.u1,PI.addFF.u2,PI.addFF.y,PI.addI.k1,PI.addI.k2,PI.addI.k3,PI.addI.u1,PI.addI.u2,PI.addI.u3,PI.addI.y,PI.addP.k1,PI.addP.k2,PI.addP.u1,PI.addP.u2,PI.addP.y,PI.addPID.k1,PI.addPID.k2,PI.addPID.k3,PI.addPID.u1,PI.addPID.u2,PI.addPID.u3,PI.addPID.y,PI.addSat.k1,PI.addSat.k2,PI.addSat.u1,PI.addSat.u2,PI.addSat.y,PI.controlError,PI.controllerType,PI.gainPID.k,PI.gainPID.u,PI.gainPID.y,PI.gainTrack.k,PI.gainTrack.u,PI.gainTrack.y,PI.homotopyType,PI.initType,PI.k,PI.kFF,PI.limiter.homotopyType,PI.limiter.strict,PI.limiter.u,PI.limiter.uMax,PI.limiter.uMin,PI.limiter.y,PI.strict,PI.u_m,PI.u_s,PI.wd,PI.withFeedForward,PI.wp,PI.xd_start,PI.xi_start,PI.y,PI.yMax,PI.yMin,PI.y_start,der(PI.I.y),der(inertia1.phi),der(inertia1.w),der(inertia2.w),der(integrator.y),der(loadTorque.phi),der(spring.phi_rel),der(spring.w_rel),driveAngle,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,integrator.initType,integrator.k,integrator.u,integrator.use_reset,integrator.use_set,integrator.y,integrator.y_start,kinematicPTP.deltaq[1],kinematicPTP.nout,kinematicPTP.qd_max[1],kinematicPTP.qdd_max[1],kinematicPTP.startTime,kinematicPTP.y[1],loadTorque.flange.phi,loadTorque.flange.tau,loadTorque.phi,loadTorque.tau,loadTorque.tau_constant,loadTorque.useSupport,loadTorque.w,speedSensor.flange.phi,speedSensor.flange.tau,speedSensor.w,spring.a_rel,spring.c,spring.d,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.lossPower,spring.phi_nominal,spring.phi_rel,spring.phi_rel0,spring.stateSelect,spring.tau,spring.useHeatPort,spring.w_rel,time,torque.flange.phi,torque.flange.tau,torque.tau,torque.useSupport filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.diff.mat", vars={"spring.w_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.diff.ref.mat", vars={"spring.w_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy_res.csv --output-variables PI.I.y inertia1.phi inertia1.w integrator.y spring.phi_rel spring.w_rel --start-time 0 --stop-time 4 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000798085 ../Modelica_trunk_Modelica_Blocks_Examples_PID_Controller.fmu) > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy_res.csv","/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 (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 4 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000798085 ../Modelica_trunk_Modelica_Blocks_Examples_PID_Controller_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv","/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] "Error: Could not read variable inertia1.w in file Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia1.w from file Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable spring.w_rel in file Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable spring.w_rel from file Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,PI.I.y,inertia1.phi,inertia1.w,integrator.y,spring.phi_rel,spring.w_rel Variables in the result:time,PI.I.y,inertia1.phi,inertia2.w,integrator.y,spring.phi_rel filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.diff.mat", vars={"spring.w_rel", "inertia1.w"}, removeDescription=false) [Timeout 660] "Error: Could not read variable spring.w_rel in file Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"spring.w_rel", "inertia1.w"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.567582589574158]