Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001879/0.003095, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002731, allocations: 475.5 kB / 11.67 MB, free: 2.496 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9409/0.9409, allocations: 177.4 MB / 189.8 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07233/1.013, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_trunk_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_trunk_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.684e-06/1.684e-06, allocations: 0 / 244.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.465e-05, allocations: 2.312 kB / 244.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008301/0.008316, allocations: 7.116 MB / 252 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.01409, allocations: 3.272 MB / 255.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.01491, allocations: 39.81 kB / 255.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.0167, allocations: 1.047 MB / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.01959, allocations: 1.392 MB / 257.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.02051, allocations: 458.9 kB / 258.2 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.02316, allocations: 2.952 MB / 261.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.02443, allocations: 1.426 MB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.02552, allocations: 1.359 MB / 264 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.02674, allocations: 1.348 MB / 265.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.02691, allocations: 172 kB / 265.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.02805, allocations: 0.9905 MB / 266.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.02865, allocations: 1.044 MB / 267.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.02911, allocations: 0.584 MB / 268.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.03121, allocations: 2.74 MB / 270.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.03123, allocations: 4 kB / 270.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.03123, allocations: 0 / 270.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.058e-05/0.03126, allocations: 0 / 270.9 MB, free: 3.652 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.003136/0.0344, allocations: 3.333 MB / 274.2 MB, free: 268 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.03444, allocations: 8.625 kB / 274.2 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0976/0.132, allocations: 458.3 kB / 274.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.1348, allocations: 0.9233 MB / 275.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.1362, allocations: 1.04 MB / 276.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.1363, allocations: 129.2 kB / 276.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.1367, allocations: 249.1 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.1404, allocations: 3.279 MB / 280.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.1405, allocations: 30.58 kB / 280.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.1406, allocations: 89.91 kB / 280.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/0.1419, allocations: 1.199 MB / 281.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.1453, allocations: 1.847 MB / 283.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.1583, allocations: 20.48 MB / 303.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.1604, allocations: 1.079 MB / 305 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.1607, allocations: 258.2 kB / 305.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00273/0.1634, allocations: 2.263 MB / 307.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1634, allocations: 50.7 kB / 307.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=112): time 3.577e-06/0.1635, allocations: 0 / 307.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.008893/0.1723, allocations: 4.001 MB / 311.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007464/0.1731, allocations: 1.497 MB / 313 MB, free: 4.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.1748, allocations: 2.356 MB / 315.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/0.1749, allocations: 42.58 kB / 315.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008761/0.1758, allocations: 2.005 MB / 317.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.1761, allocations: 0.5222 MB / 318 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007015/0.1768, allocations: 0.8614 MB / 318.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.1769, allocations: 301.1 kB / 319.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.1778, allocations: 0.6277 MB / 319.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.1797, allocations: 3.312 MB / 323.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.1828, allocations: 4.398 MB / 327.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.1829, allocations: 28 kB / 327.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007041/0.1899, allocations: 3.774 MB / 331.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.19, allocations: 51.98 kB / 331.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004039/0.194, allocations: 1.076 MB / 332.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004466/0.1985, allocations: 0.8465 MB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.2003, allocations: 1.084 MB / 334.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/0.2052, allocations: 4.11 MB / 338.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.207, allocations: 203.9 kB / 338.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.2073, allocations: 248 kB / 338.9 MB, free: 9.215 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.000742/0.208, allocations: 486.4 kB / 339.3 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.2083, allocations: 151.8 kB / 339.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.2085, allocations: 285.9 kB / 339.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001916/0.2105, allocations: 0.8473 MB / 340.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2105, allocations: 4 kB / 340.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2105, allocations: 3.984 kB / 340.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.2155, allocations: 3.385 MB / 344 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2155, allocations: 0 / 344 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.216, allocations: 167.8 kB / 344.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.2163, allocations: 220.1 kB / 344.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.2184, allocations: 0.7865 MB / 345.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.2184, allocations: 31.97 kB / 345.2 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.222, allocations: 3.823 MB / 349 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005408/0.2225, allocations: 1.376 MB / 350.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.2253, allocations: 1.948 MB / 352.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.2255, allocations: 23.94 kB / 352.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.2261, allocations: 30.5 kB / 352.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.2262, allocations: 76.5 kB / 352.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.2263, allocations: 31.97 kB / 352.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000719/0.227, allocations: 0.8475 MB / 353.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.227, allocations: 0 / 353.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002303/0.2293, allocations: 0.8554 MB / 354.2 MB, free: 9.793 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.003106/0.2324, allocations: 2.479 MB / 356.7 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.2353, allocations: 2.323 MB / 359 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.995e-05/0.2354, allocations: 59.94 kB / 359.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2365, allocations: 0.784 MB / 359.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.2378, allocations: 0.5585 MB / 360.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/0.2594, allocations: 16.27 MB / 376.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.2602, allocations: 0.7864 MB / 377.5 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.2613, allocations: 359 kB / 377.8 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/0.2629, allocations: 1.384 MB / 379.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2629, allocations: 4 kB / 379.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FMU documentation: time 0.1879/0.4507, allocations: 64.06 MB / 443.3 MB, free: 120.3 MB / 394.7 MB Notification: FMU-only work: backend 0.00279, simCode 0.0145, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08437/0.5351, allocations: 1.331 MB / 444.6 MB, free: 118.9 MB / 394.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.595/4.13, allocations: 21.72 kB / 444.6 MB, free: 118.9 MB / 394.7 MB " [Timeout remaining time 656] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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.1385085713118315]