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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 161 kB / 23.94 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 173.3 MB / 200.4 MB, free: 9.465 MB / 186.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 320 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.659e-05, allocations: 2.281 kB / 320 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004154/0.00417, allocations: 2.894 MB / 322.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005976, allocations: 0.9347 MB / 323.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.006257, allocations: 19.88 kB / 323.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.00662, allocations: 87.17 kB / 323.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.006903, allocations: 115 kB / 324 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.007484, allocations: 243.1 kB / 324.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.008093, allocations: 0.5339 MB / 324.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.008354, allocations: 113.7 kB / 324.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.008692, allocations: 283.3 kB / 325.2 MB, free: 264 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.008922, allocations: 163.5 kB / 325.3 MB, free: 100 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.008989, allocations: 40 kB / 325.4 MB, free: 60 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.009047, allocations: 40 kB / 325.4 MB, free: 20 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.00917, allocations: 103.6 kB / 325.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.009314, allocations: 147.6 kB / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.009846, allocations: 0.4984 MB / 326.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.009849, allocations: 0 / 326.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00985, allocations: 0 / 326.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.009858, allocations: 0 / 326.2 MB, free: 15.27 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.001185/0.01104, allocations: 0.6991 MB / 326.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01109, allocations: 8.922 kB / 326.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.01117, allocations: 74.72 kB / 326.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.01125, allocations: 56.61 kB / 327 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.01174, allocations: 305.4 kB / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.01177, allocations: 37.3 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.01183, allocations: 36.38 kB / 327.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.01267, allocations: 476 kB / 327.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.0127, allocations: 7.938 kB / 327.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.01273, allocations: 12 kB / 327.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01274, allocations: 12 kB / 327.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.01361, allocations: 375.6 kB / 328.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.01551, allocations: 1.418 MB / 329.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.01624, allocations: 298.6 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.01661, allocations: 164.7 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.01663, allocations: 4 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.01666, allocations: 34.56 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.01666, allocations: 0 / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00275/0.01941, allocations: 1.23 MB / 331.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.01946, allocations: 85.11 kB / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.01984, allocations: 357.6 kB / 331.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.01987, allocations: 37.7 kB / 331.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.02002, allocations: 244.2 kB / 332.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.0201, allocations: 119.1 kB / 332.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.02022, allocations: 82.14 kB / 332.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02034, allocations: 358.7 kB / 332.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.02075, allocations: 178.6 kB / 332.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.0212, allocations: 271.2 kB / 333.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.02199, allocations: 392 kB / 333.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.02199, allocations: 4 kB / 333.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009775/0.02297, allocations: 493 kB / 333.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.02299, allocations: 4 kB / 333.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.023, allocations: 7.984 kB / 333.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.02301, allocations: 4.219 kB / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.02377, allocations: 211.7 kB / 334.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.02517, allocations: 1.461 MB / 335.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.02545, allocations: 43.92 kB / 335.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.02548, allocations: 16 kB / 335.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004722/0.02595, allocations: 277.1 kB / 335.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003906/0.02634, allocations: 255.2 kB / 336.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004634/0.0268, allocations: 371.7 kB / 336.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.0268, allocations: 0 / 336.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0005738/0.02738, allocations: 477 kB / 337 MB, free: 3.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.02739, allocations: 4 kB / 337 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.02739, allocations: 4.219 kB / 337 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-06/0.0274, allocations: 11.94 kB / 337 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.02766, allocations: 127.7 kB / 337.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.02766, allocations: 7.984 kB / 337.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.0278, allocations: 31.95 kB / 337.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.02782, allocations: 16 kB / 337.2 MB, free: 3.637 MB / 298.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.805e-05/0.02792, allocations: 204.1 kB / 337.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.02796, allocations: 39.77 kB / 337.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.02801, allocations: 48.19 kB / 337.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.02801, allocations: 4 kB / 337.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.02801, allocations: 0 / 337.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.02802, allocations: 7.984 kB / 337.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.02898, allocations: 0.8444 MB / 338.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02899, allocations: 4 kB / 338.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.02921, allocations: 87.92 kB / 338.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.02921, allocations: 0 / 338.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.02923, allocations: 8 kB / 338.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02923, allocations: 16 kB / 338.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02924, allocations: 0 / 338.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.03004, allocations: 0.6714 MB / 339.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.03012, allocations: 59.78 kB / 339.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.03015, allocations: 7.938 kB / 339.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.0303, allocations: 35.95 kB / 339.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.03035, allocations: 23.97 kB / 339.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.03037, allocations: 11.98 kB / 339.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.03054, allocations: 259.1 kB / 339.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03054, allocations: 0 / 339.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000351/0.03089, allocations: 132 kB / 339.7 MB, free: 1.094 MB / 298.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.0009787/0.03187, allocations: 1.216 MB / 340.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.03291, allocations: 0.6492 MB / 341.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03291, allocations: 0 / 341.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.03316, allocations: 180.4 kB / 341.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.03357, allocations: 103.5 kB / 341.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.0375, allocations: 3.932 MB / 345.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.03763, allocations: 220 kB / 346 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.0378, allocations: 59.23 kB / 346 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.03796, allocations: 140.5 kB / 346.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03796, allocations: 4 kB / 346.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08098/0.1189, allocations: 9.922 MB / 356.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.355, allocations: 7.5 kB / 356.1 MB, free: 0.6797 MB / 314.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=4 --stepSize=0.000798085 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Blocks_Examples_PID_Controller_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Blocks.Examples.PID_Controller_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.0.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_PID_Controller.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 11.528576915152371]