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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001247/0.001248, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008674/0.0008673, allocations: 93.78 kB / 297.2 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002203/0.0002206, allocations: 4 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2481, allocations: 51.47 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3623, allocations: 95.15 MB / 0.4928 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3626, allocations: 87.95 kB / 0.4929 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3805/0.7431, allocations: 82.07 MB / 0.5731 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7431, allocations: 0 / 0.5731 GB, free: 37.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.7433, allocations: 80 kB / 0.5731 GB, free: 37.05 MB / 378.7 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.01683/0.7601, allocations: 4.434 MB / 0.5775 GB, free: 32.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7602, allocations: 11.97 kB / 0.5775 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002707/0.7629, allocations: 0.7743 MB / 0.5782 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.7731, allocations: 2.315 MB / 0.5805 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.7856, allocations: 3.765 MB / 0.5842 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.786, allocations: 324.5 kB / 0.5845 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.788, allocations: 423.9 kB / 0.5849 GB, free: 24.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.8055, allocations: 10.63 MB / 0.5953 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.8057, allocations: 59.41 kB / 0.5953 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.8062, allocations: 211.9 kB / 0.5955 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/0.8073, allocations: 1.033 MB / 0.5965 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.8231, allocations: 8.47 MB / 0.6048 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05957/0.8827, allocations: 49.1 MB / 0.6527 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.8936, allocations: 3.97 MB / 0.6566 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.015/0.9087, allocations: 7.658 MB / 0.6641 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.9088, allocations: 55.5 kB / 0.6642 GB, free: 4.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 7.324e-06/0.9089, allocations: 4 kB / 0.6642 GB, free: 4.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.2781/1.187, allocations: 12.43 MB / 0.6763 GB, free: 105.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001/1.188, allocations: 1.605 MB / 0.6779 GB, free: 104.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005633/1.194, allocations: 3.414 MB / 0.6812 GB, free: 104 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003289/1.194, allocations: 49.94 kB / 0.6812 GB, free: 104 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.196, allocations: 3.113 MB / 0.6843 GB, free: 102.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007116/1.197, allocations: 0.6451 MB / 0.6849 GB, free: 102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.197, allocations: 131 kB / 0.685 GB, free: 102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003227/1.197, allocations: 0.5647 MB / 0.6856 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/1.2, allocations: 2.007 MB / 0.6876 GB, free: 101.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005637/1.206, allocations: 5.914 MB / 0.6933 GB, free: 96.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005212/1.211, allocations: 3.368 MB / 0.6966 GB, free: 96.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.211, allocations: 43.03 kB / 0.6967 GB, free: 96.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01632/1.228, allocations: 8.763 MB / 0.7052 GB, free: 95.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/1.228, allocations: 64.28 kB / 0.7053 GB, free: 95.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005481/1.233, allocations: 2.773 MB / 0.708 GB, free: 94.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004905/1.238, allocations: 1.536 MB / 0.7095 GB, free: 94.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/1.243, allocations: 1.373 MB / 0.7108 GB, free: 94.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/1.248, allocations: 5.589 MB / 0.7163 GB, free: 90.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006197/1.254, allocations: 436.4 kB / 0.7167 GB, free: 90.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.255, allocations: 394.2 kB / 0.7171 GB, free: 90.34 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.003623/1.259, allocations: 2.006 MB / 0.719 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/1.26, allocations: 327.3 kB / 0.7193 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/1.266, allocations: 3.124 MB / 0.7224 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005187/1.271, allocations: 2.666 MB / 0.725 GB, free: 87.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.271, allocations: 7.859 kB / 0.725 GB, free: 87.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.271, allocations: 7.875 kB / 0.725 GB, free: 87.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.287, allocations: 8.591 MB / 0.7334 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.287, allocations: 0 / 0.7334 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/1.288, allocations: 189 kB / 0.7336 GB, free: 82.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/1.292, allocations: 1.439 MB / 0.735 GB, free: 81.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.292, allocations: 37.11 kB / 0.735 GB, free: 81.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00521/1.297, allocations: 5.796 MB / 0.7407 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007773/1.298, allocations: 1.466 MB / 0.7421 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007854/1.306, allocations: 5.348 MB / 0.7473 GB, free: 70 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.307, allocations: 393.6 kB / 0.7477 GB, free: 69.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/1.307, allocations: 29.25 kB / 0.7477 GB, free: 69.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.308, allocations: 142 kB / 0.7479 GB, free: 69.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.309, allocations: 84.67 kB / 0.748 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.309, allocations: 52.02 kB / 0.748 GB, free: 69.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003409/1.312, allocations: 2.345 MB / 0.7503 GB, free: 67.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.312, allocations: 4 kB / 0.7503 GB, free: 67.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005351/1.318, allocations: 1.017 MB / 0.7513 GB, free: 66.48 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.00751/1.325, allocations: 6.142 MB / 0.7573 GB, free: 61.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008398/1.334, allocations: 5.382 MB / 0.7626 GB, free: 56.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.334, allocations: 0 / 0.7626 GB, free: 56.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003199/1.337, allocations: 2.013 MB / 0.7645 GB, free: 54.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.339, allocations: 365 kB / 0.7649 GB, free: 54.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2782/1.617, allocations: 128.9 MB / 0.8907 GB, free: 66.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003305/1.62, allocations: 3.189 MB / 0.8938 GB, free: 65.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004027/1.624, allocations: 1.808 MB / 0.8956 GB, free: 65.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.626, allocations: 1.759 MB / 0.8973 GB, free: 65.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.626, allocations: 0 / 0.8973 GB, free: 65.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09937/1.726, allocations: 73.76 MB / 0.9693 GB, free: 17.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.726, allocations: 228.2 kB / 0.9696 GB, free: 17.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/5.604, allocations: 3.516 kB / 0.9696 GB, free: 17.05 MB / 458.7 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat