Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001281, allocations: 59.94 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2164/0.3289, allocations: 41.91 MB / 398.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.3496, allocations: 9.075 MB / 407.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009139/0.3588, allocations: 177.5 kB / 408.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.3637, allocations: 2.56 MB / 410.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.3686, allocations: 1.615 MB / 412.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.3701, allocations: 0.6241 MB / 412.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.3757, allocations: 5.35 MB / 418.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.3794, allocations: 3.528 MB / 421.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.3813, allocations: 1.312 MB / 423 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.3835, allocations: 2.083 MB / 425.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004736/0.384, allocations: 228 kB / 425.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.3859, allocations: 1.112 MB / 426.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3872, allocations: 1.741 MB / 428.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.3889, allocations: 2.065 MB / 430.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.3939, allocations: 6.351 MB / 436.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3939, allocations: 0 / 436.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3939, allocations: 4 kB / 436.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.329e-05/0.394, allocations: 0 / 436.6 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006655/0.4007, allocations: 4.56 MB / 441.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4008, allocations: 8.031 kB / 441.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007444/0.4015, allocations: 0.7197 MB / 441.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006195/0.4077, allocations: 1.937 MB / 443.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.411, allocations: 2.189 MB / 446 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.4112, allocations: 250.2 kB / 446.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.4119, allocations: 387.8 kB / 446.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.4263, allocations: 10.11 MB / 456.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/0.4265, allocations: 47.59 kB / 456.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.4268, allocations: 155.9 kB / 457 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.4291, allocations: 1.849 MB / 458.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.4436, allocations: 8.371 MB / 467.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04243/0.4861, allocations: 39.35 MB / 0.4947 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009993/0.4961, allocations: 4.032 MB / 0.4986 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.4981, allocations: 1.424 MB / 0.5 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009683/0.5078, allocations: 7.686 MB / 0.5075 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5079, allocations: 51.56 kB / 0.5076 GB, free: 6.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.607e-06/0.5079, allocations: 3.938 kB / 0.5076 GB, free: 6.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03097/0.5389, allocations: 12.5 MB / 0.5198 GB, free: 9.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001185/0.5401, allocations: 1.593 MB / 0.5213 GB, free: 7.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005597/0.5457, allocations: 3.812 MB / 0.525 GB, free: 3.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.546, allocations: 49.7 kB / 0.5251 GB, free: 3.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.5481, allocations: 3.114 MB / 0.5281 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1512/0.6993, allocations: 0.6415 MB / 0.5288 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/0.7016, allocations: 1.25 MB / 0.53 GB, free: 146.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.7017, allocations: 304.9 kB / 0.5303 GB, free: 146.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.7049, allocations: 2.018 MB / 0.5322 GB, free: 146 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/0.7097, allocations: 5.956 MB / 0.5381 GB, free: 140.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008855/0.7185, allocations: 8.591 MB / 0.5464 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000164/0.7187, allocations: 39.84 kB / 0.5465 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01775/0.7365, allocations: 8.827 MB / 0.5551 GB, free: 129.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.7367, allocations: 70.41 kB / 0.5552 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005373/0.742, allocations: 2.842 MB / 0.5579 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004544/0.7466, allocations: 1.557 MB / 0.5595 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.7504, allocations: 1.368 MB / 0.5608 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/0.7598, allocations: 8.904 MB / 0.5695 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/0.7641, allocations: 401.2 kB / 0.5699 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005966/0.7648, allocations: 401.7 kB / 0.5703 GB, free: 121.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002469/0.7672, allocations: 2.004 MB / 0.5722 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.7676, allocations: 327.2 kB / 0.5725 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.7682, allocations: 432 kB / 0.5729 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00489/0.7731, allocations: 2.74 MB / 0.5756 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.7732, allocations: 4 kB / 0.5756 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.7732, allocations: 7.969 kB / 0.5756 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7849, allocations: 8.604 MB / 0.584 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7849, allocations: 0 / 0.584 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.7857, allocations: 195.7 kB / 0.5842 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003923/0.7896, allocations: 1.448 MB / 0.5856 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.7898, allocations: 31.98 kB / 0.5857 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00899/0.7987, allocations: 9.063 MB / 0.5945 GB, free: 96.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000626/0.7994, allocations: 1.454 MB / 0.5959 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.8069, allocations: 5.381 MB / 0.6012 GB, free: 89.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008681/0.8078, allocations: 376.6 kB / 0.6016 GB, free: 89.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.8081, allocations: 31.98 kB / 0.6016 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.8093, allocations: 119.8 kB / 0.6017 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.8096, allocations: 104.8 kB / 0.6018 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/0.8097, allocations: 56.16 kB / 0.6019 GB, free: 88.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00262/0.8124, allocations: 2.337 MB / 0.6041 GB, free: 86.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8124, allocations: 3.938 kB / 0.6041 GB, free: 86.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004814/0.8172, allocations: 1.051 MB / 0.6052 GB, free: 85.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00749/0.8247, allocations: 6.01 MB / 0.611 GB, free: 79.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007559/0.8323, allocations: 5.694 MB / 0.6166 GB, free: 73.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8323, allocations: 0 / 0.6166 GB, free: 73.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003147/0.8354, allocations: 2.306 MB / 0.6188 GB, free: 71.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.8374, allocations: 384.1 kB / 0.6192 GB, free: 70.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05212/0.8895, allocations: 52.18 MB / 0.6702 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/0.8919, allocations: 3.123 MB / 0.6732 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003712/0.8956, allocations: 1.803 MB / 0.675 GB, free: 5.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.8972, allocations: 1.761 MB / 0.6767 GB, free: 4.066 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8972, allocations: 0 / 0.6767 GB, free: 4.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.62/3.518, allocations: 71.5 MB / 0.7465 GB, free: 120.7 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/3.518, allocations: 245.1 kB / 0.7468 GB, free: 120.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/7.513, allocations: 4 kB / 0.7468 GB, free: 120.4 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)