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.0007102/0.0007102, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009948/0.001705, allocations: 441.7 kB / 10.32 MB, free: 380 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.0007173/0.0007173, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009932/0.00171, allocations: 467.5 kB / 11.66 MB, free: 2.504 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.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07964/1.067, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.363e-06/1.363e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.535e-05, allocations: 2.312 kB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.00675/0.006766, allocations: 5.251 MB / 249.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.0127, allocations: 2.156 MB / 251.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00089/0.01359, allocations: 47.62 kB / 251.9 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.01409, allocations: 214 kB / 252.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.01466, allocations: 186.2 kB / 252.3 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.01561, allocations: 406.9 kB / 252.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.01682, allocations: 1.036 MB / 253.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.01751, allocations: 409.5 kB / 254.1 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.01838, allocations: 0.5381 MB / 254.6 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.01883, allocations: 271.2 kB / 254.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.01896, allocations: 96 kB / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.01918, allocations: 155.8 kB / 255.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01929, allocations: 163.5 kB / 255.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.01947, allocations: 251.5 kB / 255.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.02003, allocations: 0.642 MB / 256.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.02004, allocations: 0 / 256.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.02004, allocations: 0 / 256.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.02006, allocations: 0 / 256.2 MB, free: 2.516 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.0009696/0.02103, allocations: 1.127 MB / 257.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.02106, allocations: 12.03 kB / 257.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.02116, allocations: 143.3 kB / 257.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.02138, allocations: 217.9 kB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.02182, allocations: 385 kB / 258.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.02186, allocations: 66.38 kB / 258.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.02194, allocations: 88.31 kB / 258.2 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.02253, allocations: 0.5984 MB / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.02255, allocations: 8.141 kB / 258.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.02259, allocations: 36.12 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.0226, allocations: 20 kB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.02291, allocations: 224.6 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.02479, allocations: 2.286 MB / 261.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.02506, allocations: 146.2 kB / 261.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.02512, allocations: 52.77 kB / 261.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.02518, allocations: 23.98 kB / 261.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.0252, allocations: 42.48 kB / 261.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.0252, allocations: 4 kB / 261.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001075/0.02628, allocations: 0.7814 MB / 262.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.02631, allocations: 59.34 kB / 262.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.02647, allocations: 307.2 kB / 262.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.02649, allocations: 33.7 kB / 262.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.02663, allocations: 384.3 kB / 263.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.02669, allocations: 134.8 kB / 263.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.02677, allocations: 94.09 kB / 263.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.02687, allocations: 350.7 kB / 263.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.02691, allocations: 40.98 kB / 263.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.02702, allocations: 194.1 kB / 264 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.02722, allocations: 276.7 kB / 264.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02722, allocations: 3.938 kB / 264.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002624/0.02749, allocations: 285.9 kB / 264.5 MB, free: 9.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.0275, allocations: 8 kB / 264.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02751, allocations: 4 kB / 264.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-05/0.0276, allocations: 24.84 kB / 264.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.02787, allocations: 135.4 kB / 264.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.0281, allocations: 0.5405 MB / 265.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.081e-05/0.02819, allocations: 15.98 kB / 265.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.02821, allocations: 24.25 kB / 265.3 MB, free: 8.902 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.0001106/0.02832, allocations: 144.5 kB / 265.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.02836, allocations: 36 kB / 265.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.02859, allocations: 202.4 kB / 265.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.02859, allocations: 4 kB / 265.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02859, allocations: 0 / 265.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.02859, allocations: 4 kB / 265.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.02922, allocations: 0.6812 MB / 266.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02922, allocations: 0 / 266.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.02945, allocations: 91.89 kB / 266.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.02948, allocations: 31.75 kB / 266.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-05/0.02956, allocations: 28.84 kB / 266.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.02957, allocations: 15.94 kB / 266.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001849/0.02976, allocations: 0.525 MB / 267 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02976, allocations: 12.12 kB / 267.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.03004, allocations: 373.9 kB / 267.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.03006, allocations: 12 kB / 267.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.03014, allocations: 8 kB / 267.4 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.03017, allocations: 19.95 kB / 267.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.03019, allocations: 12 kB / 267.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.03026, allocations: 108.7 kB / 267.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03026, allocations: 0 / 267.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000268/0.03053, allocations: 119.9 kB / 267.7 MB, free: 6.359 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.000455/0.03098, allocations: 0.8494 MB / 268.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.03122, allocations: 206.2 kB / 268.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.03123, allocations: 4.375 kB / 268.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.03133, allocations: 108.9 kB / 268.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.03161, allocations: 99.66 kB / 269 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.03419, allocations: 2.937 MB / 271.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.03429, allocations: 169.7 kB / 272.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.0344, allocations: 47.38 kB / 272.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.03472, allocations: 419.2 kB / 272.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03473, allocations: 0 / 272.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03269/0.06741, allocations: 14.19 MB / 286.7 MB, free: 3.289 MB / 282.7 MB Notification: FMU-only work: backend 0.0003381, simCode 0.0009691, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/0.1308, allocations: 1.333 MB / 288 MB, free: 1.926 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.765/2.896, allocations: 7.906 kB / 288 MB, free: 1.914 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.4392880806699395]