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.0009926/0.0009926, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 161 kB / 23.94 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8494/0.8494, allocations: 173.4 MB / 200.5 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me_cs",version="2.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",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 320 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.016e-05, allocations: 2.281 kB / 320 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.003862/0.003873, allocations: 4.824 MB / 324.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.005669, allocations: 1.993 MB / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.005931, allocations: 51.56 kB / 326.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.006229, allocations: 206.2 kB / 327 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.006439, allocations: 186.2 kB / 327.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.006965, allocations: 394.9 kB / 327.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.007656, allocations: 1.04 MB / 328.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.008069, allocations: 397.6 kB / 329 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.008424, allocations: 0.5224 MB / 329.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.008648, allocations: 259.2 kB / 329.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.008719, allocations: 96 kB / 329.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.008878, allocations: 155.8 kB / 330.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.008992, allocations: 203.3 kB / 330.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.009164, allocations: 287.3 kB / 330.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007278/0.009892, allocations: 1.203 MB / 331.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.009894, allocations: 0 / 331.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009895, allocations: 0 / 331.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.009902, allocations: 0 / 331.7 MB, free: 9.648 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.0008698/0.01077, allocations: 0.9642 MB / 332.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.0108, allocations: 16.86 kB / 332.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.619e-05/0.0109, allocations: 131.5 kB / 332.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.01098, allocations: 92.38 kB / 332.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.01146, allocations: 455.5 kB / 333.4 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.01149, allocations: 62.38 kB / 333.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.01156, allocations: 92.31 kB / 333.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.01242, allocations: 0.8011 MB / 334.3 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.01245, allocations: 12.14 kB / 334.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.01249, allocations: 44.11 kB / 334.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.0125, allocations: 20 kB / 334.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.01312, allocations: 499.6 kB / 334.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.01514, allocations: 2.579 MB / 337.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.0155, allocations: 219.1 kB / 337.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01561, allocations: 92.83 kB / 337.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.0157, allocations: 15.98 kB / 337.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01572, allocations: 46.48 kB / 337.9 MB, free: 3.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.01572, allocations: 0 / 337.9 MB, free: 3.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001401/0.01712, allocations: 1.111 MB / 339 MB, free: 2.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.01715, allocations: 59.41 kB / 339 MB, free: 2.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.01736, allocations: 308.4 kB / 339.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.01737, allocations: 33.7 kB / 339.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.01752, allocations: 403.7 kB / 339.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.01758, allocations: 138.8 kB / 339.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.01766, allocations: 86.14 kB / 340 MB, free: 1.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.01774, allocations: 354.7 kB / 340.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.01787, allocations: 108.9 kB / 340.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.01805, allocations: 246.1 kB / 340.7 MB, free: 328 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.01839, allocations: 396.7 kB / 341 MB, free: 15.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0184, allocations: 0 / 341 MB, free: 15.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000438/0.01883, allocations: 469.2 kB / 341.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01885, allocations: 8 kB / 341.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01885, allocations: 4 kB / 341.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.01898, allocations: 37.44 kB / 341.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.01918, allocations: 111.8 kB / 341.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002424/0.01942, allocations: 0.5562 MB / 342.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.01951, allocations: 16 kB / 342.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.01954, allocations: 23.98 kB / 342.3 MB, free: 14.62 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.0001658/0.01971, allocations: 221.6 kB / 342.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.01981, allocations: 35.77 kB / 342.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.02017, allocations: 321.2 kB / 342.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.02018, allocations: 8 kB / 342.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.02018, allocations: 0 / 342.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02018, allocations: 0 / 342.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.02101, allocations: 0.9645 MB / 343.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.02102, allocations: 8 kB / 343.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.02122, allocations: 75.91 kB / 343.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.0213, allocations: 32.98 kB / 343.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.02131, allocations: 20 kB / 343.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001912/0.0215, allocations: 0.5484 MB / 344.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.0215, allocations: 3.984 kB / 344.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.02195, allocations: 0.5449 MB / 345 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.02199, allocations: 43.67 kB / 345.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.02201, allocations: 8 kB / 345.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.02209, allocations: 12 kB / 345.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.02213, allocations: 28.02 kB / 345.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.02214, allocations: 12.19 kB / 345.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.02227, allocations: 211.1 kB / 345.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02227, allocations: 3.938 kB / 345.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.02255, allocations: 116 kB / 345.5 MB, free: 11.27 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.0006431/0.0232, allocations: 1.107 MB / 346.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.02355, allocations: 291.6 kB / 346.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.02355, allocations: 0 / 346.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.02369, allocations: 137.1 kB / 347 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.02399, allocations: 64.89 kB / 347 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.0275, allocations: 4.182 MB / 351.2 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.0277, allocations: 325.6 kB / 351.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.02779, allocations: 46.09 kB / 351.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.02797, allocations: 244.4 kB / 351.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02797, allocations: 0 / 351.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07043/0.0984, allocations: 9.143 MB / 361 MB, free: 11.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.086, allocations: 8.062 kB / 361 MB, free: 11.63 MB / 330.7 MB " [Timeout remaining time 652] (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] "" 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.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-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.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-cvode.diff.ref.mat", vars={"directInertia.inertia.w", "directInertia.inertia.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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.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.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 [Calling sys.exit(0), Time elapsed: 10.68387078307569]