Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.001144/0.001144, allocations: 76.47 kB / 9.889 MB, free: 0.8047 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.002889, allocations: 441.7 kB / 10.32 MB, free: 384 kB / 10.45 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.001096/0.001096, allocations: 136.9 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.002675, allocations: 463.6 kB / 11.65 MB, free: 2.527 MB / 13.93 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 0.9869/0.9869, allocations: 173.4 MB / 185.7 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07114/1.058, allocations: 52.5 MB / 238.2 MB, free: 4.43 MB / 234.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.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_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_0_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.253e-06/1.253e-06, allocations: 0 / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.027e-06/1.028e-05, allocations: 2.312 kB / 239.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.00415/0.00416, allocations: 5.236 MB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.006034, allocations: 2.078 MB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.006264, allocations: 51.56 kB / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.006531, allocations: 214.1 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.006746, allocations: 182.2 kB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.007188, allocations: 402.9 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000614/0.007802, allocations: 1.024 MB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.008185, allocations: 413.5 kB / 249 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.008561, allocations: 0.5418 MB / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.008803, allocations: 275.2 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.008873, allocations: 92 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.009038, allocations: 155.8 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.009139, allocations: 163.5 kB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.009308, allocations: 251.5 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.009787, allocations: 0.6381 MB / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.009799, allocations: 0 / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0098, allocations: 0 / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.009811, allocations: 0 / 251.1 MB, free: 7.477 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.0008752/0.01069, allocations: 1.127 MB / 252.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.01072, allocations: 12.03 kB / 252.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.9e-05/0.01081, allocations: 135.3 kB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.01091, allocations: 128.8 kB / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.01128, allocations: 377 kB / 252.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.01131, allocations: 66.38 kB / 253 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.01138, allocations: 88.33 kB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.01195, allocations: 0.6738 MB / 253.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.01197, allocations: 12.08 kB / 253.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.012, allocations: 40.12 kB / 253.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.01201, allocations: 20 kB / 253.8 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.01229, allocations: 220.6 kB / 254 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.01389, allocations: 2.282 MB / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.01413, allocations: 142.2 kB / 256.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.01418, allocations: 52.77 kB / 256.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.01424, allocations: 23.97 kB / 256.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.01426, allocations: 38.55 kB / 256.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.01426, allocations: 4 kB / 256.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009898/0.01525, allocations: 0.8098 MB / 257.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.01527, allocations: 55.41 kB / 257.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01542, allocations: 290.8 kB / 257.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01543, allocations: 29.7 kB / 257.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01556, allocations: 384.3 kB / 258.1 MB, free: 176 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.01562, allocations: 146.8 kB / 258.2 MB, free: 28 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.0157, allocations: 86.11 kB / 258.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.01579, allocations: 350.7 kB / 258.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.01583, allocations: 40.98 kB / 258.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01594, allocations: 194 kB / 258.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.01613, allocations: 280.6 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01613, allocations: 7.875 kB / 259.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002381/0.01637, allocations: 282 kB / 259.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01638, allocations: 8 kB / 259.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01638, allocations: 4 kB / 259.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.01647, allocations: 32.78 kB / 259.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01671, allocations: 131.8 kB / 259.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000191/0.0169, allocations: 0.5328 MB / 260.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.01698, allocations: 12.31 kB / 260.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.01701, allocations: 27.98 kB / 260.2 MB, free: 13.89 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 9.824e-05/0.0171, allocations: 140.5 kB / 260.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.01714, allocations: 31.97 kB / 260.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.01735, allocations: 202.1 kB / 260.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01735, allocations: 4 kB / 260.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01736, allocations: 0 / 260.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01736, allocations: 7.984 kB / 260.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.01794, allocations: 0.6682 MB / 261.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01794, allocations: 0 / 261.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.01816, allocations: 102.4 kB / 261.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.01818, allocations: 27.77 kB / 261.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.01824, allocations: 32.81 kB / 261.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01826, allocations: 11.94 kB / 261.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001644/0.01842, allocations: 0.5251 MB / 261.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01842, allocations: 4.125 kB / 261.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.01868, allocations: 382.4 kB / 262.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01871, allocations: 15.98 kB / 262.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01878, allocations: 8 kB / 262.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01881, allocations: 27.89 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.01883, allocations: 8 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.01889, allocations: 100.6 kB / 262.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01889, allocations: 4 kB / 262.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01914, allocations: 131.9 kB / 262.6 MB, free: 11.34 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.0004356/0.01958, allocations: 0.8452 MB / 263.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.0198, allocations: 194.9 kB / 263.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01981, allocations: 8.125 kB / 263.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.0199, allocations: 104.6 kB / 263.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.02016, allocations: 101.3 kB / 263.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.0233, allocations: 2.923 MB / 266.8 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.02342, allocations: 169.7 kB / 266.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.02351, allocations: 43.39 kB / 267 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.02382, allocations: 407.2 kB / 267.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02382, allocations: 0 / 267.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.2386/0.2625, allocations: 14.15 MB / 281.5 MB, free: 26.79 MB / 266.7 MB Notification: FMU-only work: backend 0.0003273, simCode 0.001121, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.3424, allocations: 1.332 MB / 282.9 MB, free: 25.43 MB / 266.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.867/3.21, allocations: 28.33 kB / 282.9 MB, free: 25.41 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.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_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.918422237969935]