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.001713/0.001713, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001007/0.001007, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 2.346/2.346, allocations: 177.4 MB / 204.5 MB, free: 5.324 MB / 186.7 MB " [Timeout remaining time 178] 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",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_PID_Controller",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.283e-05, allocations: 2.281 kB / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004167/0.00419, allocations: 2.922 MB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.006263, allocations: 0.9698 MB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.006659, allocations: 15.88 kB / 330.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.007052, allocations: 87.17 kB / 330.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.007386, allocations: 122.9 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.008046, allocations: 239 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.008758, allocations: 0.5261 MB / 331.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.009056, allocations: 113.7 kB / 331.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.009451, allocations: 287.3 kB / 332.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.009691, allocations: 151.5 kB / 332.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.009758, allocations: 44 kB / 332.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.009816, allocations: 40 kB / 332.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.009923, allocations: 103.6 kB / 332.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.01006, allocations: 147.6 kB / 332.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.01063, allocations: 0.4944 MB / 333.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01064, allocations: 0 / 333.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01064, allocations: 0 / 333.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.01065, allocations: 4 kB / 333.1 MB, free: 7.992 MB / 298.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.001191/0.01184, allocations: 0.696 MB / 333.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.01189, allocations: 15.98 kB / 333.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.551e-05/0.01196, allocations: 78.7 kB / 333.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.01205, allocations: 52.61 kB / 333.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.01249, allocations: 305.4 kB / 334.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.01253, allocations: 33.36 kB / 334.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.01259, allocations: 40.31 kB / 334.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.01335, allocations: 0.4953 MB / 334.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.01338, allocations: 8.078 kB / 334.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.01341, allocations: 20.12 kB / 334.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01342, allocations: 12 kB / 334.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.01419, allocations: 371.6 kB / 335.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01616, allocations: 1.414 MB / 336.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.01671, allocations: 290.7 kB / 336.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.01694, allocations: 168.6 kB / 337 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01696, allocations: 7.984 kB / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01698, allocations: 34.56 kB / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.01699, allocations: 0 / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00185/0.01884, allocations: 1.23 MB / 338.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.01888, allocations: 106.8 kB / 338.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.01917, allocations: 369.6 kB / 338.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01919, allocations: 33.7 kB / 338.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01931, allocations: 244.2 kB / 339 MB, free: 1.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.0194, allocations: 123.1 kB / 339.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.01948, allocations: 78.19 kB / 339.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.01958, allocations: 350.7 kB / 339.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.01984, allocations: 170.7 kB / 339.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.02019, allocations: 317.6 kB / 340.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.02068, allocations: 388 kB / 340.4 MB, free: 200 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02068, allocations: 0 / 340.4 MB, free: 200 kB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005974/0.02128, allocations: 492.9 kB / 340.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.0213, allocations: 8 kB / 340.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02131, allocations: 224 / 340.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.02132, allocations: 8 kB / 340.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.02179, allocations: 207.7 kB / 341.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.02288, allocations: 1.473 MB / 342.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02304, allocations: 39.89 kB / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.02306, allocations: 16.09 kB / 342.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003129/0.02337, allocations: 281 kB / 342.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002624/0.02364, allocations: 293.7 kB / 343.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000431/0.02407, allocations: 375.7 kB / 343.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.02407, allocations: 0 / 343.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0005368/0.0246, allocations: 469 kB / 344 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.02461, allocations: 4.219 kB / 344 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.02461, allocations: 8 kB / 344.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-06/0.02462, allocations: 7.938 kB / 344.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.02486, allocations: 115.9 kB / 344.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.02487, allocations: 11.92 kB / 344.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.02501, allocations: 35.91 kB / 344.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.02502, allocations: 16 kB / 344.2 MB, free: 12.18 MB / 314.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 (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 9.284e-05/0.02511, allocations: 204.2 kB / 344.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.02515, allocations: 39.75 kB / 344.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.0252, allocations: 48.25 kB / 344.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.0252, allocations: 7.938 kB / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.0252, allocations: 0 / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.02521, allocations: 3.938 kB / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.02638, allocations: 0.8405 MB / 345.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02639, allocations: 7.938 kB / 345.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.0266, allocations: 83.88 kB / 345.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.0266, allocations: 8.125 kB / 345.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.02662, allocations: 11.98 kB / 345.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02662, allocations: 3.938 kB / 345.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02662, allocations: 4 kB / 345.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.02737, allocations: 0.6641 MB / 346.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.02745, allocations: 67.62 kB / 346.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.02748, allocations: 8.125 kB / 346.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.02762, allocations: 39.95 kB / 346.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.02768, allocations: 31.89 kB / 346.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.02769, allocations: 12 kB / 346.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.02785, allocations: 251.2 kB / 346.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02785, allocations: 0 / 346.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.02819, allocations: 136 kB / 346.7 MB, free: 9.633 MB / 314.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.0009324/0.02912, allocations: 1.207 MB / 347.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.03013, allocations: 0.6729 MB / 348.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03013, allocations: 3.938 kB / 348.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.03038, allocations: 176.4 kB / 348.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.03078, allocations: 94.67 kB / 348.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.03476, allocations: 3.931 MB / 352.8 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.03488, allocations: 216.2 kB / 353 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.03504, allocations: 59.25 kB / 353 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.03518, allocations: 140.5 kB / 353.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of SimCode: time 2.385e-06/0.03519, allocations: 0 / 353.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08157/0.1168, allocations: 9.862 MB / 363 MB, free: 9.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.248, allocations: 15.84 kB / 363.1 MB, free: 9.219 MB / 330.7 MB " [Timeout remaining time 652] (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 [Calling sys.exit(0), Time elapsed: 12.349947072565556]