Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001112, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009359/0.0009358, allocations: 98.5 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002688, allocations: 4 kB / 358 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2261, allocations: 51.49 MB / 409.5 MB, free: 26.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3394, allocations: 100.1 MB / 0.4977 GB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.3398, allocations: 91.95 kB / 0.4978 GB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.407/0.7469, allocations: 74.86 MB / 0.5709 GB, free: 39.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7469, allocations: 0 / 0.5709 GB, free: 39.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.7471, allocations: 68 kB / 0.5709 GB, free: 39.55 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006608/0.7537, allocations: 3.621 MB / 0.5745 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7537, allocations: 12.03 kB / 0.5745 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007764/0.7545, allocations: 0.651 MB / 0.5751 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007194/0.7617, allocations: 2.089 MB / 0.5772 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006873/0.7686, allocations: 3.401 MB / 0.5805 GB, free: 29.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.7687, allocations: 262.9 kB / 0.5807 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005005/0.7692, allocations: 351.8 kB / 0.5811 GB, free: 29.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.7802, allocations: 8.99 MB / 0.5898 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.707e-05/0.7803, allocations: 59.41 kB / 0.5899 GB, free: 18.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.7807, allocations: 175.9 kB / 0.5901 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008982/0.7816, allocations: 0.8878 MB / 0.5909 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.792, allocations: 7.265 MB / 0.598 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03886/0.8309, allocations: 42.94 MB / 0.64 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.8379, allocations: 3.3 MB / 0.6432 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.8447, allocations: 4.432 MB / 0.6475 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.8448, allocations: 51.06 kB / 0.6476 GB, free: 6.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.016e-06/0.8448, allocations: 0 / 0.6476 GB, free: 6.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.02689/0.8717, allocations: 11.61 MB / 0.6589 GB, free: 10.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.8718, allocations: 141.1 kB / 0.659 GB, free: 10.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/0.8764, allocations: 3.322 MB / 0.6623 GB, free: 6.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.8766, allocations: 45.7 kB / 0.6623 GB, free: 6.812 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.8783, allocations: 2.752 MB / 0.665 GB, free: 4.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005705/0.8789, allocations: 0.521 MB / 0.6655 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.8791, allocations: 108 kB / 0.6656 GB, free: 3.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/0.8795, allocations: 0.5292 MB / 0.6661 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.8819, allocations: 1.677 MB / 0.6678 GB, free: 1.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.257/1.139, allocations: 5.089 MB / 0.6727 GB, free: 104.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005421/1.144, allocations: 2.874 MB / 0.6755 GB, free: 104.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002746/1.145, allocations: 39.02 kB / 0.6756 GB, free: 104.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01299/1.158, allocations: 6.668 MB / 0.6821 GB, free: 104.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.158, allocations: 64.89 kB / 0.6822 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002519/1.158, allocations: 119.9 kB / 0.6823 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/1.159, allocations: 334.2 kB / 0.6826 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.163, allocations: 1.284 MB / 0.6838 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.166, allocations: 2.33 MB / 0.6861 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/1.169, allocations: 293 kB / 0.6864 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/1.17, allocations: 332.4 kB / 0.6867 GB, free: 102.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (666): * Single equations (assignments): 662 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003693/1.174, allocations: 1.784 MB / 0.6885 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/1.175, allocations: 307.2 kB / 0.6887 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.179, allocations: 2.369 MB / 0.6911 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.179, allocations: 18.86 kB / 0.6911 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.179, allocations: 5.672 kB / 0.6911 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.179, allocations: 3.094 kB / 0.6911 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.189, allocations: 5.939 MB / 0.6969 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.189, allocations: 7.25 kB / 0.6969 GB, free: 102.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/1.19, allocations: 167.9 kB / 0.6971 GB, free: 102.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/1.192, allocations: 0.7117 MB / 0.6977 GB, free: 102.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.341e-05/1.192, allocations: 24.39 kB / 0.6978 GB, free: 102.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/1.197, allocations: 4.552 MB / 0.7022 GB, free: 99.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/1.197, allocations: 7.844 kB / 0.7022 GB, free: 99.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/1.202, allocations: 4.451 MB / 0.7066 GB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/1.203, allocations: 369.3 kB / 0.7069 GB, free: 97.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.203, allocations: 29.34 kB / 0.7069 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/1.204, allocations: 69.09 kB / 0.707 GB, free: 97.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.204, allocations: 73.53 kB / 0.7071 GB, free: 97.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/1.204, allocations: 37.72 kB / 0.7071 GB, free: 97.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002962/1.207, allocations: 2.31 MB / 0.7094 GB, free: 96.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.207, allocations: 3.172 kB / 0.7094 GB, free: 96.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00383/1.211, allocations: 0.8274 MB / 0.7102 GB, free: 96.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005352/1.216, allocations: 5.379 MB / 0.7154 GB, free: 94.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005745/1.222, allocations: 3.999 MB / 0.7193 GB, free: 92.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.222, allocations: 0 / 0.7193 GB, free: 92.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.223, allocations: 1.102 MB / 0.7204 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.225, allocations: 357.5 kB / 0.7208 GB, free: 91.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/1.259, allocations: 99.6 MB / 0.818 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.262, allocations: 2.853 MB / 0.8208 GB, free: 5.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004051/1.266, allocations: 1.666 MB / 0.8224 GB, free: 4.156 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.268, allocations: 1.53 MB / 0.8239 GB, free: 2.742 MB / 458.7 MB Notification: Performance of SimCode: time 6.042e-06/1.268, allocations: 0 / 0.8239 GB, free: 2.742 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3083/1.576, allocations: 64.35 MB / 0.8868 GB, free: 133.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.576, allocations: 220.2 kB / 0.887 GB, free: 133 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/5.415, allocations: 3.938 kB / 0.887 GB, free: 133 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat