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.001098/0.001098, allocations: 104.2 kB / 20.43 MB, free: 4.594 MB / 13.93 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.001109/0.001109, allocations: 197.3 kB / 23.71 MB, free: 2.156 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9685/0.9685, allocations: 225.7 MB / 252.5 MB, free: 14.48 MB / 202.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 0.001706/0.001706, allocations: 59.91 kB / 371.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2206, allocations: 52.19 MB / 424.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.003925/0.2245, allocations: 4.834 MB / 429 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2265, allocations: 1.976 MB / 430.9 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.2268, allocations: 57.31 kB / 431 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.2272, allocations: 206.3 kB / 431.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.2274, allocations: 175.8 kB / 431.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.228, allocations: 392.8 kB / 431.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.2286, allocations: 1.014 MB / 432.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.229, allocations: 392.8 kB / 433.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2292, allocations: 351.1 kB / 433.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2295, allocations: 321.2 kB / 433.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.2295, allocations: 94.03 kB / 433.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.2297, allocations: 144.8 kB / 434 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.2298, allocations: 213.2 kB / 434.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.23, allocations: 346.1 kB / 434.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.2306, allocations: 1.194 MB / 435.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2306, allocations: 4 kB / 435.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2306, allocations: 1.094 kB / 435.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.2306, allocations: 0 / 435.8 MB, free: 15.92 MB / 346.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.000933/0.2316, allocations: 0.9752 MB / 436.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2316, allocations: 14.16 kB / 436.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.928e-05/0.2317, allocations: 130.9 kB / 436.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.2318, allocations: 91.66 kB / 437 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.2323, allocations: 461.3 kB / 437.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.2323, allocations: 64.69 kB / 437.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.2324, allocations: 87.98 kB / 437.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.2333, allocations: 0.8048 MB / 438.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.2333, allocations: 11.3 kB / 438.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2333, allocations: 31.91 kB / 438.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2334, allocations: 20.22 kB / 438.5 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.234, allocations: 0.4988 MB / 439 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2359, allocations: 2.577 MB / 441.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2363, allocations: 206.3 kB / 441.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2364, allocations: 95 kB / 441.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/0.2365, allocations: 16.45 kB / 441.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2365, allocations: 41.81 kB / 441.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.2365, allocations: 4 kB / 441.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001406/0.2379, allocations: 1.109 MB / 443 MB, free: 10.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2379, allocations: 55.44 kB / 443.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2382, allocations: 318.2 kB / 443.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2382, allocations: 38.88 kB / 443.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.2383, allocations: 402.6 kB / 443.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.2384, allocations: 146.5 kB / 443.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.2385, allocations: 87.05 kB / 444 MB, free: 9.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.2386, allocations: 352.1 kB / 444.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2387, allocations: 106 kB / 444.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2389, allocations: 255.8 kB / 444.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.2393, allocations: 390.5 kB / 445.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2393, allocations: 1.156 kB / 445.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004711/0.2397, allocations: 460.8 kB / 445.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2398, allocations: 6.875 kB / 445.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2398, allocations: 4.219 kB / 445.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.2399, allocations: 33.84 kB / 445.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2401, allocations: 110.4 kB / 445.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002611/0.2404, allocations: 0.569 MB / 446.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.2404, allocations: 15.98 kB / 446.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2405, allocations: 24 kB / 446.3 MB, free: 7.941 MB / 346.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.000165/0.2406, allocations: 220.4 kB / 446.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.2407, allocations: 39.7 kB / 446.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.2411, allocations: 326.1 kB / 446.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2411, allocations: 0 / 446.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2411, allocations: 4 kB / 446.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2411, allocations: 0 / 446.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.2419, allocations: 0.9524 MB / 447.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2419, allocations: 3.938 kB / 447.9 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2421, allocations: 75.97 kB / 447.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.618e-05/0.2422, allocations: 40.77 kB / 448 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2422, allocations: 8 kB / 448 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002024/0.2424, allocations: 0.5523 MB / 448.5 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2424, allocations: 4.031 kB / 448.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.2429, allocations: 0.5531 MB / 449.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.2429, allocations: 31.77 kB / 449.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.243, allocations: 12 kB / 449.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.243, allocations: 8 kB / 449.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2431, allocations: 27.98 kB / 449.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2431, allocations: 19.94 kB / 449.2 MB, free: 4.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.2432, allocations: 207.1 kB / 449.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2432, allocations: 0 / 449.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.2435, allocations: 119.9 kB / 449.5 MB, free: 4.602 MB / 346.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.0007121/0.2442, allocations: 1.116 MB / 450.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.2446, allocations: 288.9 kB / 450.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2446, allocations: 0 / 450.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2448, allocations: 135.8 kB / 451 MB, free: 3.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2451, allocations: 72.3 kB / 451.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.2485, allocations: 4.39 MB / 455.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2487, allocations: 321.6 kB / 455.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.2488, allocations: 51.31 kB / 455.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.249, allocations: 243.4 kB / 456.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.249, allocations: 0 / 456.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07396/0.3229, allocations: 8.994 MB / 465.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.16, allocations: 10.73 kB / 465.1 MB, free: 4.902 MB / 362.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.755385408177972]