Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.0007764/0.0007764, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001832, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007363/0.0007363, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009728/0.001709, allocations: 467.5 kB / 11.66 MB, free: 2.504 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08955/1.1, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.393e-05, allocations: 5.125 kB / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.00937/0.009393, allocations: 7.116 MB / 251.6 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.01659, allocations: 3.264 MB / 254.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.01753, allocations: 43.81 kB / 254.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.01985, allocations: 1.047 MB / 255.9 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.02334, allocations: 1.388 MB / 257.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.02447, allocations: 466.9 kB / 257.8 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.02832, allocations: 2.944 MB / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.02978, allocations: 1.422 MB / 262.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.03115, allocations: 1.355 MB / 263.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.0325, allocations: 1.344 MB / 264.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.03277, allocations: 172 kB / 265 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.03409, allocations: 0.9983 MB / 266 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.03482, allocations: 1.048 MB / 267 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.03536, allocations: 0.584 MB / 267.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.0379, allocations: 2.732 MB / 270.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.03792, allocations: 0 / 270.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.03792, allocations: 0 / 270.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.17e-05/0.038, allocations: 4 kB / 270.4 MB, free: 4.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.003603/0.04161, allocations: 3.349 MB / 273.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.04165, allocations: 8.031 kB / 273.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003911/0.04204, allocations: 454.3 kB / 274.2 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1698/0.2118, allocations: 0.9214 MB / 275.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.2138, allocations: 1.039 MB / 276.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2139, allocations: 132.1 kB / 276.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005799/0.2145, allocations: 250.8 kB / 276.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/0.2194, allocations: 3.272 MB / 279.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/0.2195, allocations: 27.92 kB / 279.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.2197, allocations: 90.67 kB / 279.9 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001397/0.2211, allocations: 1.204 MB / 281.1 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/0.2255, allocations: 1.848 MB / 282.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.2433, allocations: 20.48 MB / 303.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.2455, allocations: 1.075 MB / 304.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.2457, allocations: 248.8 kB / 304.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/0.2482, allocations: 2.262 MB / 307 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.2482, allocations: 51 kB / 307.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=112): time 5.901e-06/0.2482, allocations: 4 kB / 307.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.009488/0.2577, allocations: 4 MB / 311.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00082/0.2586, allocations: 1.497 MB / 312.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.2607, allocations: 2.355 MB / 314.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.2608, allocations: 41.7 kB / 314.9 MB, free: 7.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009706/0.2618, allocations: 2.007 MB / 317 MB, free: 5.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.2622, allocations: 0.5233 MB / 317.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008035/0.263, allocations: 0.8583 MB / 318.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.2631, allocations: 305.2 kB / 318.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.264, allocations: 0.6283 MB / 319.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.2661, allocations: 3.315 MB / 322.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.2696, allocations: 4.392 MB / 327 MB, free: 9.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-05/0.2697, allocations: 35.98 kB / 327 MB, free: 9.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007278/0.2769, allocations: 3.772 MB / 330.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.277, allocations: 48 kB / 330.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003919/0.2809, allocations: 1.093 MB / 331.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/0.2853, allocations: 0.8436 MB / 332.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.2873, allocations: 1.084 MB / 333.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.2921, allocations: 4.1 MB / 337.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.2941, allocations: 211.8 kB / 338.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.2944, allocations: 248 kB / 338.4 MB, free: 13.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008235/0.2952, allocations: 492.1 kB / 338.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.2956, allocations: 151.8 kB / 339 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.296, allocations: 281.9 kB / 339.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002467/0.2985, allocations: 0.8354 MB / 340.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2985, allocations: 12 kB / 340.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2985, allocations: 7.969 kB / 340.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.304, allocations: 3.381 MB / 343.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.304, allocations: 4.062 kB / 343.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.3045, allocations: 163.8 kB / 343.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.3048, allocations: 222.2 kB / 343.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.307, allocations: 0.7916 MB / 344.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.307, allocations: 31.97 kB / 344.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.3106, allocations: 3.816 MB / 348.6 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005554/0.3112, allocations: 1.371 MB / 349.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.3141, allocations: 1.948 MB / 351.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.3143, allocations: 31.98 kB / 351.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.3149, allocations: 20 kB / 351.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3151, allocations: 76.48 kB / 352 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.3151, allocations: 35.97 kB / 352 MB, free: 15.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007769/0.3159, allocations: 0.8505 MB / 352.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 0 / 352.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002384/0.3183, allocations: 0.8553 MB / 353.7 MB, free: 13.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003215/0.3215, allocations: 2.481 MB / 356.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.3245, allocations: 2.308 MB / 358.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.549e-05/0.3246, allocations: 59.94 kB / 358.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3257, allocations: 0.7829 MB / 359.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.3271, allocations: 0.5674 MB / 359.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.3463, allocations: 16.27 MB / 376.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.3471, allocations: 0.7942 MB / 377 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000878/0.348, allocations: 355 kB / 377.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.3493, allocations: 1.391 MB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3493, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FMU documentation: time 0.348/0.6973, allocations: 64.07 MB / 442.8 MB, free: 103.3 MB / 378.7 MB Notification: FMU-only work: backend 0.002874, simCode 0.01204, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08788/0.7852, allocations: 1.342 MB / 444.2 MB, free: 101.9 MB / 378.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.633/4.418, allocations: 18.36 kB / 444.2 MB, free: 101.9 MB / 378.7 MB " [Timeout remaining time 655] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3] Variables in the result:_D_STATESET1.A[1,1],_D_STATESET1.A[1,2],_D_STATESET1.A[1,3],_D_STATESET1.A[1,4],_D_STATESET1.A[2,1],_D_STATESET1.A[2,2],_D_STATESET1.A[2,3],_D_STATESET1.A[2,4],_D_STATESET1.A[3,1],_D_STATESET1.A[3,2],_D_STATESET1.A[3,3],_D_STATESET1.A[3,4],_D_STATESET1.x[1],_D_STATESET1.x[2],_D_STATESET1.x[3],body.I[1,1],body.I[1,2],body.I[1,3],body.I[2,1],body.I[2,2],body.I[2,3],body.I[3,1],body.I[3,2],body.I[3,3],body.I_11,body.I_21,body.I_22,body.I_31,body.I_32,body.I_33,body.R_start.T[1,1],body.R_start.T[1,2],body.R_start.T[1,3],body.R_start.T[2,1],body.R_start.T[2,2],body.R_start.T[2,3],body.R_start.T[3,1],body.R_start.T[3,2],body.R_start.T[3,3],body.R_start.w[1],body.R_start.w[2],body.R_start.w[3],body.a_0[1],body.a_0[2],body.a_0[3],body.angles_fixed,body.angles_start[1],body.angles_start[2],body.angles_start[3],body.animation,body.cylinderColor[1],body.cylinderColor[2],body.cylinderColor[3],body.cylinderDiameter,body.enforceStates,body.frame_a.R.T[1,1],body.frame_a.R.T[1,2],body.frame_a.R.T[1,3],body.frame_a.R.T[2,1],body.frame_a.R.T[2,2],body.frame_a.R.T[2,3],body.frame_a.R.T[3,1],body.frame_a.R.T[3,2],body.frame_a.R.T[3,3],body.frame_a.R.w[1],body.frame_a.R.w[2],body.frame_a.R.w[3],body.frame_a.f[1],body.frame_a.f[2],body.frame_a.f[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.frame_a.t[1],body.frame_a.t[2],body.frame_a.t[3],body.g_0[1],body.g_0[2],body.g_0[3],body.m,body.r_0[1],body.r_0[2],body.r_0[3],body.r_CM[1],body.r_CM[2],body.r_CM[3],body.sequence_angleStates[1],body.sequence_angleStates[2],body.sequence_angleStates[3],body.sequence_start[1],body.sequence_start[2],body.sequence_start[3],body.specularCoefficient,body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],body.sphereDiameter,body.useQuaternions,body.v_0[1],body.v_0[2],body.v_0[3],body.w_0_fixed,body.w_0_start[1],body.w_0_start[2],body.w_0_start[3],body.w_a[1],body.w_a[2],body.w_a[3],body.z_0_fixed,body.z_0_start[1],body.z_0_start[2],body.z_0_start[3],body.z_a[1],body.z_a[2],body.z_a[3],der(_D_STATESET1.x[1]),der(_D_STATESET1.x[2]),der(_D_STATESET1.x[3]),der(body.frame_a.R.w[1]),der(body.frame_a.R.w[2]),der(body.frame_a.R.w[3]),der(body.frame_a.r_0[1]),der(body.frame_a.r_0[2]),der(body.frame_a.r_0[3]),der(body.r_0[1]),der(body.r_0[2]),der(body.r_0[3]),der(body.v_0[1]),der(body.v_0[2]),der(body.v_0[3]),der(body.w_a[1]),der(body.w_a[2]),der(body.w_a[3]),der(spring.frame_b.R.w[1]),der(spring.frame_b.R.w[2]),der(spring.frame_b.R.w[3]),der(spring.frame_b.r_0[1]),der(spring.frame_b.r_0[2]),der(spring.frame_b.r_0[3]),der(spring.lineForce.frame_b.R.w[1]),der(spring.lineForce.frame_b.R.w[2]),der(spring.lineForce.frame_b.R.w[3]),der(spring.lineForce.frame_b.r_0[1]),der(spring.lineForce.frame_b.r_0[2]),der(spring.lineForce.frame_b.r_0[3]),der(spring.lineForce.r_rel_0[1]),der(spring.lineForce.r_rel_0[2]),der(spring.lineForce.r_rel_0[3]),der(spring.r_rel_0[1]),der(spring.r_rel_0[2]),der(spring.r_rel_0[3]),spring.animation,spring.c,spring.coilWidth,spring.color[1],spring.color[2],spring.color[3],spring.e_a[1],spring.e_a[2],spring.e_a[3],spring.e_rel_0[1],spring.e_rel_0[2],spring.e_rel_0[3],spring.f,spring.fixedRotationAtFrame_a,spring.fixedRotationAtFrame_b,spring.frame_a.R.T[1,1],spring.frame_a.R.T[1,2],spring.frame_a.R.T[1,3],spring.frame_a.R.T[2,1],spring.frame_a.R.T[2,2],spring.frame_a.R.T[2,3],spring.frame_a.R.T[3,1],spring.frame_a.R.T[3,2],spring.frame_a.R.T[3,3],spring.frame_a.R.w[1],spring.frame_a.R.w[2],spring.frame_a.R.w[3],spring.frame_a.f[1],spring.frame_a.f[2],spring.frame_a.f[3],spring.frame_a.r_0[1],spring.frame_a.r_0[2],spring.frame_a.r_0[3],spring.frame_a.t[1],spring.frame_a.t[2],spring.frame_a.t[3],spring.frame_b.R.T[1,1],spring.frame_b.R.T[1,2],spring.frame_b.R.T[1,3],spring.frame_b.R.T[2,1],spring.frame_b.R.T[2,2],spring.frame_b.R.T[2,3],spring.frame_b.R.T[3,1],spring.frame_b.R.T[3,2],spring.frame_b.R.T[3,3],spring.frame_b.R.w[1],spring.frame_b.R.w[2],spring.frame_b.R.w[3],spring.frame_b.f[1],spring.frame_b.f[2],spring.frame_b.f[3],spring.frame_b.r_0[1],spring.frame_b.r_0[2],spring.frame_b.r_0[3],spring.frame_b.t[1],spring.frame_b.t[2],spring.frame_b.t[3],spring.length,spring.lengthFraction,spring.lineForce.animateLine,spring.lineForce.animateMass,spring.lineForce.e_rel_0[1],spring.lineForce.e_rel_0[2],spring.lineForce.e_rel_0[3],spring.lineForce.fixedRotationAtFrame_a,spring.lineForce.fixedRotationAtFrame_b,spring.lineForce.flange_a.f,spring.lineForce.flange_a.s,spring.lineForce.flange_b.f,spring.lineForce.flange_b.s,spring.lineForce.frame_a.R.T[1,1],spring.lineForce.frame_a.R.T[1,2],spring.lineForce.frame_a.R.T[1,3],spring.lineForce.frame_a.R.T[2,1],spring.lineForce.frame_a.R.T[2,2],spring.lineForce.frame_a.R.T[2,3],spring.lineForce.frame_a.R.T[3,1],spring.lineForce.frame_a.R.T[3,2],spring.lineForce.frame_a.R.T[3,3],spring.lineForce.frame_a.R.w[1],spring.lineForce.frame_a.R.w[2],spring.lineForce.frame_a.R.w[3],spring.lineForce.frame_a.f[1],spring.lineForce.frame_a.f[2],spring.lineForce.frame_a.f[3],spring.lineForce.frame_a.r_0[1],spring.lineForce.frame_a.r_0[2],spring.lineForce.frame_a.r_0[3],spring.lineForce.frame_a.t[1],spring.lineForce.frame_a.t[2],spring.lineForce.frame_a.t[3],spring.lineForce.frame_b.R.T[1,1],spring.lineForce.frame_b.R.T[1,2],spring.lineForce.frame_b.R.T[1,3],spring.lineForce.frame_b.R.T[2,1],spring.lineForce.frame_b.R.T[2,2],spring.lineForce.frame_b.R.T[2,3],spring.lineForce.frame_b.R.T[3,1],spring.lineForce.frame_b.R.T[3,2],spring.lineForce.frame_b.R.T[3,3],spring.lineForce.frame_b.R.w[1],spring.lineForce.frame_b.R.w[2],spring.lineForce.frame_b.R.w[3],spring.lineForce.frame_b.f[1],spring.lineForce.frame_b.f[2],spring.lineForce.frame_b.f[3],spring.lineForce.frame_b.r_0[1],spring.lineForce.frame_b.r_0[2],spring.lineForce.frame_b.r_0[3],spring.lineForce.frame_b.t[1],spring.lineForce.frame_b.t[2],spring.lineForce.frame_b.t[3],spring.lineForce.length,spring.lineForce.lengthFraction,spring.lineForce.lineShapeColor[1],spring.lineForce.lineShapeColor[2],spring.lineForce.lineShapeColor[3],spring.lineForce.lineShapeExtra,spring.lineForce.lineShapeHeight,spring.lineForce.lineShapeWidth,spring.lineForce.m,spring.lineForce.massColor[1],spring.lineForce.massColor[2],spring.lineForce.massColor[3],spring.lineForce.massDiameter,spring.lineForce.r_rel_0[1],spring.lineForce.r_rel_0[2],spring.lineForce.r_rel_0[3],spring.lineForce.s,spring.lineForce.s_small,spring.lineForce.specularCoefficient,spring.m,spring.massColor[1],spring.massColor[2],spring.massColor[3],spring.massDiameter,spring.numberOfWindings,spring.r_rel_0[1],spring.r_rel_0[2],spring.r_rel_0[3],spring.r_rel_a[1],spring.r_rel_a[2],spring.r_rel_a[3],spring.s,spring.s_small,spring.s_unstretched,spring.showMass,spring.specularCoefficient,spring.spring.c,spring.spring.f,spring.spring.flange_a.f,spring.spring.flange_a.s,spring.spring.flange_b.f,spring.spring.flange_b.s,spring.spring.s_rel,spring.spring.s_rel0,spring.width,time,world.animateGravity,world.animateGround,world.animateWorld,world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.axisColor_y[1],world.axisColor_y[2],world.axisColor_y[3],world.axisColor_z[1],world.axisColor_z[2],world.axisColor_z[3],world.axisDiameter,world.axisLength,world.axisShowLabels,world.defaultArrowDiameter,world.defaultAxisLength,world.defaultBodyDiameter,world.defaultForceLength,world.defaultForceWidth,world.defaultFrameDiameterFraction,world.defaultJointLength,world.defaultJointWidth,world.defaultN_to_m,world.defaultNm_to_m,world.defaultSpecularCoefficient,world.defaultWidthFraction,world.driveTrainMechanics3D,world.enableAnimation,world.frame_b.R.T[1,1],world.frame_b.R.T[1,2],world.frame_b.R.T[1,3],world.frame_b.R.T[2,1],world.frame_b.R.T[2,2],world.frame_b.R.T[2,3],world.frame_b.R.T[3,1],world.frame_b.R.T[3,2],world.frame_b.R.T[3,3],world.frame_b.R.w[1],world.frame_b.R.w[2],world.frame_b.R.w[3],world.frame_b.f[1],world.frame_b.f[2],world.frame_b.f[3],world.frame_b.r_0[1],world.frame_b.r_0[2],world.frame_b.r_0[3],world.frame_b.t[1],world.frame_b.t[2],world.frame_b.t[3],world.g,world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravityArrowDiameter,world.gravityArrowLength,world.gravityArrowTail[1],world.gravityArrowTail[2],world.gravityArrowTail[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.gravitySphereDiameter,world.gravityType,world.groundAxis_u[1],world.groundAxis_u[2],world.groundAxis_u[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.groundLength_u,world.groundLength_v,world.mu,world.n[1],world.n[2],world.n[3],world.nominalLength filterSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.diff.mat", vars={"body.v_0[2]", "body.frame_a.r_0[2]"}, 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/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.diff.ref.mat", vars={"body.v_0[2]", "body.frame_a.r_0[2]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy_res.csv --output-variables 'body.frame_a.r_0[1]' 'body.frame_a.r_0[2]' 'body.frame_a.r_0[3]' 'body.v_0[1]' 'body.v_0[2]' 'body.v_0[3]' 'body.w_a[1]' 'body.w_a[2]' 'body.w_a[3]' --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode_res.csv --output-variables 'body.frame_a.r_0[1]' 'body.frame_a.r_0[2]' 'body.frame_a.r_0[3]' 'body.v_0[1]' 'body.v_0[2]' 'body.v_0[3]' 'body.w_a[1]' 'body.w_a[2]' 'body.w_a[3]' body.frame_a.r_0 body.v_0 body.w_a --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0009996 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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: 7.579966392368078]