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.0009802/0.0009802, allocations: 88.34 kB / 20.68 MB, free: 3.887 MB / 18.57 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.0009756/0.0009756, allocations: 164.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9243/0.9243, allocations: 177.4 MB / 204.6 MB, free: 5.312 MB / 186.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",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 326.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.986e-05, allocations: 6.281 kB / 326.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.007877/0.007897, allocations: 6.591 MB / 333.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.0132, allocations: 3.093 MB / 336.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.01376, allocations: 39.81 kB / 336.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.01565, allocations: 1.055 MB / 337.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.01811, allocations: 1.427 MB / 339 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.01892, allocations: 486.8 kB / 339.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.0219, allocations: 3.024 MB / 342.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02356, allocations: 1.566 MB / 344.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.02523, allocations: 1.309 MB / 345.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.02696, allocations: 1.399 MB / 346.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.02718, allocations: 172 kB / 347 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.02819, allocations: 0.9631 MB / 347.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.02878, allocations: 1.169 MB / 349.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.02926, allocations: 0.7163 MB / 349.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.03177, allocations: 4.376 MB / 354.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.03177, allocations: 0 / 354.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03178, allocations: 0 / 354.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.0318, allocations: 0 / 354.2 MB, free: 2.758 MB / 314.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.002988/0.03479, allocations: 3.068 MB / 357.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.03483, allocations: 27.86 kB / 357.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003366/0.03516, allocations: 474.9 kB / 357.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.03891, allocations: 1.926 MB / 359.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.04023, allocations: 1.395 MB / 361.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.04029, allocations: 135.2 kB / 361.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.04067, allocations: 251.8 kB / 361.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005574/0.04625, allocations: 6.712 MB / 368.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.04629, allocations: 31.7 kB / 368.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.04647, allocations: 87.89 kB / 368.3 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/0.04763, allocations: 1.367 MB / 369.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.05378, allocations: 6.064 MB / 375.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.06948, allocations: 24.7 MB / 400.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.07311, allocations: 2.215 MB / 402.6 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.07398, allocations: 0.982 MB / 403.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/0.07691, allocations: 2.856 MB / 406.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.07694, allocations: 43 kB / 406.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 2.124e-06/0.07694, allocations: 0 / 406.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01463/0.09157, allocations: 10.35 MB / 416.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007681/0.09234, allocations: 1.564 MB / 418.4 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.09497, allocations: 3.06 MB / 421.5 MB, free: 13.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.09504, allocations: 41.7 kB / 421.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.09587, allocations: 2.136 MB / 423.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.09615, allocations: 0.5195 MB / 424.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007467/0.0969, allocations: 0.9095 MB / 425.1 MB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.09696, allocations: 309.1 kB / 425.4 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.09892, allocations: 1.707 MB / 427.1 MB, free: 8.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003337/0.1023, allocations: 4.51 MB / 431.6 MB, free: 2.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/0.1073, allocations: 6.629 MB / 438.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/0.1073, allocations: 28 kB / 438.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01143/0.1188, allocations: 8.158 MB / 446.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.1188, allocations: 44 kB / 446.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1368/0.2556, allocations: 3.641 MB / 450.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006216/0.2618, allocations: 2.67 MB / 452.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.2636, allocations: 1.02 MB / 453.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.271, allocations: 9.429 MB / 463.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.2729, allocations: 407.7 kB / 463.6 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.2731, allocations: 278.1 kB / 463.9 MB, free: 105.2 MB / 410.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 (543): * Single equations (assignments): 535 * 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.001039/0.2741, allocations: 1.417 MB / 465.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.2743, allocations: 249.1 kB / 465.6 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2745, allocations: 325.5 kB / 465.9 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003029/0.2775, allocations: 2.516 MB / 468.4 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2775, allocations: 8 kB / 468.4 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2776, allocations: 3.984 kB / 468.4 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.2839, allocations: 6.587 MB / 475 MB, free: 95.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2839, allocations: 3 kB / 475 MB, free: 95.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2844, allocations: 179.7 kB / 475.2 MB, free: 95.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.2867, allocations: 1.43 MB / 476.6 MB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.2868, allocations: 38.38 kB / 476.6 MB, free: 93.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.2918, allocations: 7.663 MB / 484.3 MB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000379/0.2922, allocations: 1.431 MB / 485.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.2966, allocations: 4.868 MB / 490.6 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.2969, allocations: 251.6 kB / 490.8 MB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.297, allocations: 27.98 kB / 490.9 MB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.2977, allocations: 152 kB / 491 MB, free: 79.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2978, allocations: 88.36 kB / 491.1 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.2979, allocations: 42.88 kB / 491.2 MB, free: 79.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001332/0.2992, allocations: 1.815 MB / 493 MB, free: 77.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2992, allocations: 0 / 493 MB, free: 77.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002045/0.3013, allocations: 0.8573 MB / 493.8 MB, free: 76.42 MB / 410.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.00471/0.306, allocations: 5.497 MB / 499.3 MB, free: 70.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003741/0.3097, allocations: 4.244 MB / 0.4918 GB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3097, allocations: 4 kB / 0.4918 GB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.3112, allocations: 1.585 MB / 0.4933 GB, free: 65.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.3122, allocations: 277.9 kB / 0.4936 GB, free: 64.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/0.343, allocations: 36.21 MB / 0.5289 GB, free: 24.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.3441, allocations: 1.732 MB / 0.5306 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.3457, allocations: 1.412 MB / 0.532 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.3465, allocations: 1.125 MB / 0.5331 GB, free: 20.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3465, allocations: 0 / 0.5331 GB, free: 20.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.469, allocations: 53.7 MB / 0.5856 GB, free: 15.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/9.918, allocations: 12.02 kB / 0.5856 GB, free: 15.07 MB / 458.7 MB " [Timeout remaining time 650] (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_0[1]),der(body.frame_a.r_0[2]),der(body.frame_a.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]),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 [Calling sys.exit(0), Time elapsed: 13.020546091720462]