Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009867/0.001726, allocations: 449.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007675/0.0007675, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009179/0.001685, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9174/0.9174, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07662/0.994, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.054e-05, allocations: 6.25 kB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004504/0.004524, allocations: 5.237 MB / 249.7 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.008214, allocations: 2.164 MB / 251.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.008906, allocations: 51.56 kB / 251.9 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.009324, allocations: 210.1 kB / 252.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.00974, allocations: 182.3 kB / 252.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.01053, allocations: 402.9 kB / 252.7 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.01152, allocations: 1.036 MB / 253.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.01208, allocations: 405.5 kB / 254.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.01279, allocations: 0.5536 MB / 254.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.01314, allocations: 271.2 kB / 254.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01325, allocations: 92 kB / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.01352, allocations: 159.8 kB / 255.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01366, allocations: 163.5 kB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.01389, allocations: 247.5 kB / 255.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.01465, allocations: 0.642 MB / 256.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.01467, allocations: 8 kB / 256.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01467, allocations: 0 / 256.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.01469, allocations: 0 / 256.2 MB, free: 2.508 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00122/0.01591, allocations: 1.123 MB / 257.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01595, allocations: 12.03 kB / 257.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.01606, allocations: 139.3 kB / 257.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.01632, allocations: 213.9 kB / 257.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.01687, allocations: 389 kB / 258.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.01692, allocations: 62.38 kB / 258.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.01701, allocations: 88.36 kB / 258.2 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.01773, allocations: 0.5946 MB / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.01776, allocations: 12.11 kB / 258.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.01781, allocations: 40.12 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.01782, allocations: 24 kB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.01822, allocations: 220.5 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.02042, allocations: 2.278 MB / 261.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.02074, allocations: 157.6 kB / 261.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.02081, allocations: 48.84 kB / 261.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.02088, allocations: 23.98 kB / 261.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.02091, allocations: 42.5 kB / 261.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.02091, allocations: 0 / 261.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00134/0.02225, allocations: 0.8005 MB / 262.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.02228, allocations: 55.41 kB / 262.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.02247, allocations: 299.2 kB / 262.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.02249, allocations: 29.7 kB / 262.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.02266, allocations: 388.3 kB / 263.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.02273, allocations: 138.8 kB / 263.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.02283, allocations: 86.11 kB / 263.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02293, allocations: 354.7 kB / 263.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.02299, allocations: 44.97 kB / 263.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.02313, allocations: 188.8 kB / 264 MB, free: 10.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.02338, allocations: 276.8 kB / 264.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02338, allocations: 3.938 kB / 264.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003345/0.02371, allocations: 286.1 kB / 264.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.02373, allocations: 8.031 kB / 264.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02374, allocations: 8 kB / 264.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.02386, allocations: 32.81 kB / 264.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.02419, allocations: 131.8 kB / 264.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002596/0.02445, allocations: 0.5366 MB / 265.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02458, allocations: 16 kB / 265.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.0246, allocations: 20 kB / 265.3 MB, free: 8.906 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.02473, allocations: 140.5 kB / 265.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.02478, allocations: 39.95 kB / 265.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.02506, allocations: 202.4 kB / 265.7 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.02507, allocations: 4 kB / 265.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02507, allocations: 0 / 265.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02507, allocations: 3.984 kB / 265.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.02595, allocations: 0.6852 MB / 266.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02595, allocations: 0 / 266.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.02624, allocations: 103.2 kB / 266.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.02628, allocations: 27.77 kB / 266.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.44e-05/0.02636, allocations: 24.84 kB / 266.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02638, allocations: 19.92 kB / 266.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002323/0.02662, allocations: 0.5289 MB / 267.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02662, allocations: 0 / 267.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.02695, allocations: 382 kB / 267.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.02699, allocations: 8 kB / 267.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.02709, allocations: 11.98 kB / 267.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.02713, allocations: 19.97 kB / 267.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.02715, allocations: 11.98 kB / 267.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.159e-05/0.02724, allocations: 112.7 kB / 267.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02724, allocations: 0 / 267.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.02768, allocations: 119.9 kB / 267.7 MB, free: 6.348 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005365/0.02821, allocations: 0.8455 MB / 268.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.02851, allocations: 202.6 kB / 268.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.02851, allocations: 4 kB / 268.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.02864, allocations: 109.2 kB / 268.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.02899, allocations: 97.39 kB / 269 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/0.03766, allocations: 2.859 MB / 271.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.03779, allocations: 165.7 kB / 272 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.03794, allocations: 43.39 kB / 272 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.03833, allocations: 419.2 kB / 272.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.03833, allocations: 0 / 272.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.04825/0.08658, allocations: 14.86 MB / 287.3 MB, free: 2.707 MB / 282.7 MB Notification: FMU-only work: backend 0.0003909, simCode 0.001271, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06177/0.1484, allocations: 1.472 MB / 288.8 MB, free: 1.191 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 2.696/2.845, allocations: 19.5 kB / 288.8 MB, free: 1.172 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,directInertia.inertia.phi,directInertia.inertia.w,inertia2a.phi,inertia2a.w,inertia2b.phi,inertia2b.w,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w Variables in the result:der(directInertia.inertia.flange_a.phi),der(directInertia.inertia.flange_b.phi),der(directInertia.inertia.phi),der(directInertia.inertia.w),der(directInertia.phi),der(directInertia.torqueSource.flange.phi),der(directInertia.torqueToAngle.flange.phi),der(directInertia.torqueToAngle.phi),der(directInertia.torqueToAngle.w),der(directInertia.w),der(force3.flange.phi),der(inertia2a.flange_a.phi),der(inertia2a.flange_b.phi),der(inertia2a.phi),der(inertia2a.w),der(inertia2b.flange_a.phi),der(inertia2b.flange_b.phi),der(inertia2b.phi),der(inertia2b.w),der(inertia3a.flange_a.phi),der(inertia3a.flange_b.phi),der(inertia3a.phi),der(inertia3a.w),der(inertia3b.flange_a.phi),der(inertia3b.flange_b.phi),der(inertia3b.phi),der(inertia3b.w),der(inverseInertia.angleToTorque.flange.phi),der(inverseInertia.angleToTorque.phi),der(inverseInertia.angleToTorque.w),der(inverseInertia.inertia.flange_a.phi),der(inverseInertia.inertia.flange_b.phi),der(inverseInertia.inertia.phi),der(inverseInertia.inertia.w),der(inverseInertia.phi),der(inverseInertia.w),der(spring.angleToTorque1.flange.phi),der(spring.angleToTorque1.phi),der(spring.angleToTorque2.flange.phi),der(spring.angleToTorque2.phi),der(spring.phi1),der(spring.phi2),der(spring.spring.flange_a.phi),der(spring.spring.flange_b.phi),der(springDamper.angleToTorque1.flange.phi),der(springDamper.angleToTorque1.phi),der(springDamper.angleToTorque1.w),der(springDamper.angleToTorque2.flange.phi),der(springDamper.angleToTorque2.phi),der(springDamper.angleToTorque2.w),der(springDamper.phi1),der(springDamper.phi2),der(springDamper.springDamper.flange_a.phi),der(springDamper.springDamper.flange_b.phi),der(springDamper.springDamper.phi_rel),der(springDamper.w1),der(springDamper.w2),der(torque2.flange.phi),der(torqueToAngle2a.flange.phi),der(torqueToAngle2a.phi),der(torqueToAngle2a.w),der(torqueToAngle2b.flange.phi),der(torqueToAngle2b.phi),der(torqueToAngle2b.w),der(torqueToAngle3a.flange.phi),der(torqueToAngle3a.phi),der(torqueToAngle3b.flange.phi),der(torqueToAngle3b.phi),directInertia.J,directInertia.a,directInertia.inertia.J,directInertia.inertia.a,directInertia.inertia.flange_a.phi,directInertia.inertia.flange_a.tau,directInertia.inertia.flange_b.phi,directInertia.inertia.flange_b.tau,directInertia.inertia.phi,directInertia.inertia.stateSelect,directInertia.inertia.w,directInertia.phi,directInertia.tau,directInertia.tauDrive,directInertia.torqueSource.flange.phi,directInertia.torqueSource.flange.tau,directInertia.torqueSource.tau,directInertia.torqueSource.useSupport,directInertia.torqueToAngle.a,directInertia.torqueToAngle.flange.phi,directInertia.torqueToAngle.flange.tau,directInertia.torqueToAngle.phi,directInertia.torqueToAngle.tau,directInertia.torqueToAngle.use_a,directInertia.torqueToAngle.use_w,directInertia.torqueToAngle.w,directInertia.w,force3.flange.phi,force3.flange.tau,force3.tau,force3.useSupport,inertia2a.J,inertia2a.a,inertia2a.flange_a.phi,inertia2a.flange_a.tau,inertia2a.flange_b.phi,inertia2a.flange_b.tau,inertia2a.phi,inertia2a.stateSelect,inertia2a.w,inertia2b.J,inertia2b.a,inertia2b.flange_a.phi,inertia2b.flange_a.tau,inertia2b.flange_b.phi,inertia2b.flange_b.tau,inertia2b.phi,inertia2b.stateSelect,inertia2b.w,inertia3a.J,inertia3a.a,inertia3a.flange_a.phi,inertia3a.flange_a.tau,inertia3a.flange_b.phi,inertia3a.flange_b.tau,inertia3a.phi,inertia3a.stateSelect,inertia3a.w,inertia3b.J,inertia3b.a,inertia3b.flange_a.phi,inertia3b.flange_a.tau,inertia3b.flange_b.phi,inertia3b.flange_b.tau,inertia3b.phi,inertia3b.stateSelect,inertia3b.w,inverseInertia.J,inverseInertia.a,inverseInertia.angleToTorque.a,inverseInertia.angleToTorque.flange.phi,inverseInertia.angleToTorque.flange.tau,inverseInertia.angleToTorque.phi,inverseInertia.angleToTorque.tau,inverseInertia.angleToTorque.use_a,inverseInertia.angleToTorque.use_w,inverseInertia.angleToTorque.w,inverseInertia.inertia.J,inverseInertia.inertia.a,inverseInertia.inertia.flange_a.phi,inverseInertia.inertia.flange_a.tau,inverseInertia.inertia.flange_b.phi,inverseInertia.inertia.flange_b.tau,inverseInertia.inertia.phi,inverseInertia.inertia.stateSelect,inverseInertia.inertia.w,inverseInertia.phi,inverseInertia.tau,inverseInertia.w,sine1.amplitude,sine1.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,spring.angleToTorque1.flange.phi,spring.angleToTorque1.flange.tau,spring.angleToTorque1.phi,spring.angleToTorque1.tau,spring.angleToTorque1.use_a,spring.angleToTorque1.use_w,spring.angleToTorque2.flange.phi,spring.angleToTorque2.flange.tau,spring.angleToTorque2.phi,spring.angleToTorque2.tau,spring.angleToTorque2.use_a,spring.angleToTorque2.use_w,spring.c,spring.phi1,spring.phi2,spring.phi_rel0,spring.spring.c,spring.spring.flange_a.phi,spring.spring.flange_a.tau,spring.spring.flange_b.phi,spring.spring.flange_b.tau,spring.spring.phi_rel,spring.spring.phi_rel0,spring.spring.tau,spring.tau1,spring.tau2,springDamper.angleToTorque1.flange.phi,springDamper.angleToTorque1.flange.tau,springDamper.angleToTorque1.phi,springDamper.angleToTorque1.tau,springDamper.angleToTorque1.use_a,springDamper.angleToTorque1.use_w,springDamper.angleToTorque1.w,springDamper.angleToTorque2.flange.phi,springDamper.angleToTorque2.flange.tau,springDamper.angleToTorque2.phi,springDamper.angleToTorque2.tau,springDamper.angleToTorque2.use_a,springDamper.angleToTorque2.use_w,springDamper.angleToTorque2.w,springDamper.c,springDamper.d,springDamper.phi1,springDamper.phi2,springDamper.phi_rel0,springDamper.springDamper.c,springDamper.springDamper.d,springDamper.springDamper.flange_a.phi,springDamper.springDamper.flange_a.tau,springDamper.springDamper.flange_b.phi,springDamper.springDamper.flange_b.tau,springDamper.springDamper.lossPower,springDamper.springDamper.phi_rel,springDamper.springDamper.phi_rel0,springDamper.springDamper.tau,springDamper.springDamper.useHeatPort,springDamper.springDamper.w_rel,springDamper.tau1,springDamper.tau2,springDamper.w1,springDamper.w2,time,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport,torqueToAngle2a.flange.phi,torqueToAngle2a.flange.tau,torqueToAngle2a.phi,torqueToAngle2a.tau,torqueToAngle2a.use_a,torqueToAngle2a.use_w,torqueToAngle2a.w,torqueToAngle2b.flange.phi,torqueToAngle2b.flange.tau,torqueToAngle2b.phi,torqueToAngle2b.tau,torqueToAngle2b.use_a,torqueToAngle2b.use_w,torqueToAngle2b.w,torqueToAngle3a.flange.phi,torqueToAngle3a.flange.tau,torqueToAngle3a.phi,torqueToAngle3a.tau,torqueToAngle3a.use_a,torqueToAngle3a.use_w,torqueToAngle3b.flange.phi,torqueToAngle3b.flange.tau,torqueToAngle3b.phi,torqueToAngle3b.tau,torqueToAngle3b.use_a,torqueToAngle3b.use_w filterSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.diff.mat", vars={"inertia3b.w", "inertia3b.phi", "inertia3a.w", "inertia3a.phi"}, 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/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.diff.ref.mat", vars={"inertia3b.w", "inertia3b.phi", "inertia3a.w", "inertia3a.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy_res.csv --output-variables directInertia.inertia.phi directInertia.inertia.w inertia2a.phi inertia2a.w inertia2b.phi inertia2b.w inertia3a.phi inertia3a.w inertia3b.phi inertia3b.w --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode_res.csv --output-variables directInertia.inertia.phi directInertia.inertia.w inertia2a.phi inertia2a.w inertia2b.phi inertia2b.w inertia3a.phi inertia3a.w inertia3b.phi inertia3b.w --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.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: 5.365740077570081]