Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 47.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01279/0.1166, allocations: 10.51 MB / 428.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008383/0.125, allocations: 3.851 MB / 432.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.1266, allocations: 59.81 kB / 432.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.1311, allocations: 2.336 MB / 434.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00487/0.1359, allocations: 1.731 MB / 436.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1376, allocations: 0.6122 MB / 436.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.1431, allocations: 3.455 MB / 440.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/0.1475, allocations: 2.568 MB / 442.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.1502, allocations: 1.37 MB / 444.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.1537, allocations: 1.947 MB / 446.2 MB, free: 40 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2278/0.3815, allocations: 290.8 kB / 446.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.384, allocations: 1.185 MB / 447.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.3856, allocations: 1.739 MB / 449.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.3874, allocations: 1.96 MB / 451.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007707/0.3951, allocations: 6.276 MB / 457.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3951, allocations: 0 / 457.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3951, allocations: 4.562 kB / 457.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.3953, allocations: 0 / 457.7 MB, free: 9.879 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.009071/0.4044, allocations: 4.345 MB / 462 MB, free: 8.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4044, allocations: 11.69 kB / 462 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008959/0.4053, allocations: 0.6418 MB / 462.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/0.4111, allocations: 1.869 MB / 464.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/0.4165, allocations: 2.39 MB / 466.9 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4166, allocations: 217.5 kB / 467.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008448/0.4174, allocations: 364.1 kB / 467.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.4309, allocations: 8.877 MB / 476.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-05/0.431, allocations: 35.78 kB / 476.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/0.4314, allocations: 137.2 kB / 476.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/0.4332, allocations: 1.635 MB / 478.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.4451, allocations: 7.502 MB / 485.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.4914, allocations: 35.05 MB / 0.5085 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/0.4997, allocations: 3.35 MB / 0.5118 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.5018, allocations: 1.384 MB / 0.5131 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.5134, allocations: 6.777 MB / 0.5198 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5134, allocations: 51.16 kB / 0.5198 GB, free: 108 kB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.817e-06/0.5134, allocations: 0 / 0.5198 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0282/0.5416, allocations: 11.3 MB / 0.5308 GB, free: 4.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001434/0.5431, allocations: 1.707 MB / 0.5325 GB, free: 2.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/0.5495, allocations: 3.549 MB / 0.536 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004208/0.5499, allocations: 45.73 kB / 0.536 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0025/0.5524, allocations: 2.909 MB / 0.5389 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009113/0.5533, allocations: 0.5918 MB / 0.5394 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002816/0.5561, allocations: 1.109 MB / 0.5405 GB, free: 10.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5563, allocations: 305.1 kB / 0.5408 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.5597, allocations: 1.912 MB / 0.5427 GB, free: 8.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005909/0.5656, allocations: 5.354 MB / 0.5479 GB, free: 1.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009211/0.5748, allocations: 7.83 MB / 0.5556 GB, free: 8.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-05/0.5749, allocations: 36 kB / 0.5556 GB, free: 8.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01976/0.5947, allocations: 8.447 MB / 0.5638 GB, free: 15.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.5948, allocations: 56 kB / 0.5639 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009613/0.6044, allocations: 3.113 MB / 0.5669 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009059/0.6135, allocations: 1.864 MB / 0.5688 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/0.6178, allocations: 1.251 MB / 0.57 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009005/0.6268, allocations: 6.046 MB / 0.5759 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/0.6317, allocations: 375.4 kB / 0.5762 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/0.633, allocations: 347.2 kB / 0.5766 GB, free: 2.629 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00491/0.6379, allocations: 1.849 MB / 0.5784 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009854/0.6389, allocations: 317.9 kB / 0.5787 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/0.6456, allocations: 2.768 MB / 0.5814 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004709/0.6503, allocations: 2.351 MB / 0.5837 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.6503, allocations: 4 kB / 0.5837 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.6503, allocations: 7.922 kB / 0.5837 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/0.6717, allocations: 7.841 MB / 0.5913 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.6717, allocations: 0 / 0.5913 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.6728, allocations: 227.7 kB / 0.5916 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.6759, allocations: 1.057 MB / 0.5926 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.6761, allocations: 35.55 kB / 0.5926 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/0.6824, allocations: 5.273 MB / 0.5978 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001215/0.6836, allocations: 1.58 MB / 0.5993 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00846/0.6921, allocations: 4.974 MB / 0.6042 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.6932, allocations: 378.8 kB / 0.6045 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008076/0.6941, allocations: 31.98 kB / 0.6046 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.6959, allocations: 115.8 kB / 0.6047 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.6962, allocations: 92.45 kB / 0.6048 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.6963, allocations: 43.19 kB / 0.6048 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00512/0.7014, allocations: 2.195 MB / 0.607 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7014, allocations: 0 / 0.607 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006255/0.7077, allocations: 0.9492 MB / 0.6079 GB, free: 1.977 MB / 0.4981 GB 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.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.718, allocations: 5.628 MB / 0.6134 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.729, allocations: 5.01 MB / 0.6183 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.729, allocations: 0 / 0.6183 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004161/0.7331, allocations: 1.93 MB / 0.6202 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.7367, allocations: 395.7 kB / 0.6205 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2449/0.9816, allocations: 42.53 MB / 0.6621 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.9842, allocations: 2.898 MB / 0.6649 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002992/0.9872, allocations: 1.696 MB / 0.6665 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/0.9886, allocations: 1.608 MB / 0.6681 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.9886, allocations: 0 / 0.6681 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.225/3.213, allocations: 63.35 MB / 0.73 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.33/29.54, allocations: 15.09 kB / 0.73 GB, free: 117.7 MB / 0.5294 GB " [Timeout remaining time 630] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 34.260524436831474]