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.001012/0.001012, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001012/0.001012, allocations: 166.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.8996/0.8996, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.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",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 3.938 kB / 326.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.765e-05, allocations: 2.281 kB / 326.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006049/0.006067, allocations: 4.843 MB / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.008557, allocations: 2.067 MB / 333 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.008899, allocations: 51.56 kB / 333.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.009213, allocations: 210.2 kB / 333.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.009448, allocations: 186.3 kB / 333.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.009995, allocations: 402.9 kB / 333.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.01063, allocations: 1.048 MB / 334.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.01105, allocations: 385.6 kB / 335.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.01145, allocations: 0.5302 MB / 335.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.01168, allocations: 259.2 kB / 336.1 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.01175, allocations: 92 kB / 336.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.01205, allocations: 155.8 kB / 336.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.01222, allocations: 211.3 kB / 336.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.01251, allocations: 287.3 kB / 336.8 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.01334, allocations: 1.199 MB / 338 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01335, allocations: 3.984 kB / 338 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01335, allocations: 0 / 338 MB, free: 3.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.01336, allocations: 4 kB / 338 MB, free: 3.129 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.0009719/0.01434, allocations: 0.9757 MB / 339 MB, free: 2.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.01437, allocations: 12.03 kB / 339 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.992e-05/0.01447, allocations: 131.5 kB / 339.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.01464, allocations: 108.4 kB / 339.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01514, allocations: 459.5 kB / 339.7 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.01517, allocations: 66.38 kB / 339.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.01525, allocations: 88.33 kB / 339.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.01609, allocations: 0.8011 MB / 340.6 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.01612, allocations: 4.188 kB / 340.6 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.01616, allocations: 40.12 kB / 340.7 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.01617, allocations: 23.94 kB / 340.7 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.0168, allocations: 0.4918 MB / 341.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.01873, allocations: 2.579 MB / 343.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.01911, allocations: 199.2 kB / 344 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01923, allocations: 100.8 kB / 344.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-05/0.01931, allocations: 15.98 kB / 344.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.01933, allocations: 38.5 kB / 344.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.01933, allocations: 4 kB / 344.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001445/0.02078, allocations: 1.129 MB / 345.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.0208, allocations: 59.41 kB / 345.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.02102, allocations: 317.6 kB / 345.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.02103, allocations: 33.7 kB / 345.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.0212, allocations: 403.7 kB / 346 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.02126, allocations: 142.8 kB / 346.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.02137, allocations: 90.14 kB / 346.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.02148, allocations: 358.7 kB / 346.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.02164, allocations: 105 kB / 346.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.02184, allocations: 253.9 kB / 347 MB, free: 9.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.02218, allocations: 396.8 kB / 347.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.02218, allocations: 0 / 347.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004459/0.02263, allocations: 457.8 kB / 347.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.02264, allocations: 8 kB / 347.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.02265, allocations: 4 kB / 347.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.02278, allocations: 36.83 kB / 347.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.02298, allocations: 111.8 kB / 348 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002543/0.02324, allocations: 0.5523 MB / 348.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.02333, allocations: 19.94 kB / 348.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.02336, allocations: 20 kB / 348.6 MB, free: 8.062 MB / 314.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.000171/0.02353, allocations: 225.9 kB / 348.8 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.02357, allocations: 39.77 kB / 348.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.02394, allocations: 327.5 kB / 349.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.02394, allocations: 4 kB / 349.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02394, allocations: 0 / 349.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.02395, allocations: 3.984 kB / 349.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.0248, allocations: 0.9451 MB / 350.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0248, allocations: 4 kB / 350.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.02501, allocations: 75.89 kB / 350.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.02509, allocations: 36.84 kB / 350.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.0251, allocations: 11.98 kB / 350.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001951/0.0253, allocations: 0.5522 MB / 350.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.0253, allocations: 8.016 kB / 350.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.02577, allocations: 0.537 MB / 351.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.02579, allocations: 39.7 kB / 351.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.02582, allocations: 19.92 kB / 351.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.0259, allocations: 8 kB / 351.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.02594, allocations: 23.95 kB / 351.4 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.02595, allocations: 8.094 kB / 351.4 MB, free: 5.059 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.02609, allocations: 219.1 kB / 351.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02609, allocations: 0 / 351.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.02639, allocations: 119.9 kB / 351.7 MB, free: 4.73 MB / 314.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.000674/0.02706, allocations: 1.112 MB / 352.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.02744, allocations: 300.9 kB / 353.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02744, allocations: 8.125 kB / 353.1 MB, free: 3.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.02758, allocations: 131.8 kB / 353.3 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.02789, allocations: 61.34 kB / 353.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.03141, allocations: 4.199 MB / 357.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.03164, allocations: 329.6 kB / 357.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.03175, allocations: 51.33 kB / 357.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.03197, allocations: 248.3 kB / 358.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03197, allocations: 0 / 358.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08054/0.1125, allocations: 9.155 MB / 367.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.155, allocations: 8 kB / 367.3 MB, free: 5.059 MB / 330.7 MB " [Timeout remaining time 652] (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] "" 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.w),der(directInertia.torqueToAngle.phi),der(inertia2a.w),der(inertia2b.w),der(inertia3a.phi),der(inertia3a.w),der(inertia3b.phi),der(inertia3b.w),der(inverseInertia.inertia.phi),der(inverseInertia.inertia.w),der(springDamper.angleToTorque1.flange.phi),der(springDamper.angleToTorque2.flange.phi),der(springDamper.springDamper.phi_rel),der(torqueToAngle2a.phi),der(torqueToAngle2b.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-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_OMSimulator-cs-cvode.diff.mat", vars={"directInertia.inertia.w", "directInertia.inertia.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-cvode.diff.ref.mat", vars={"directInertia.inertia.w", "directInertia.inertia.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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.w),der(directInertia.torqueToAngle.phi),der(inertia2a.w),der(inertia2b.w),der(inertia3a.phi),der(inertia3a.w),der(inertia3b.phi),der(inertia3b.w),der(inverseInertia.inertia.phi),der(inverseInertia.inertia.w),der(springDamper.angleToTorque1.flange.phi),der(springDamper.angleToTorque2.flange.phi),der(springDamper.springDamper.phi_rel),der(torqueToAngle2a.phi),der(torqueToAngle2b.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 [Calling sys.exit(0), Time elapsed: 10.72352013643831]