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.0009994/0.0009994, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009746/0.0009743, allocations: 98.78 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.591e-05, allocations: 0 / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5485, allocations: 99.38 MB / 494.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5489, allocations: 89.52 kB / 494.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1964/0.7453, allocations: 73.52 MB / 0.5549 GB, free: 4.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7453, allocations: 0 / 0.5549 GB, free: 4.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002622/0.7456, allocations: 68 kB / 0.555 GB, free: 4.859 MB / 426.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.0123/0.7579, allocations: 3.412 MB / 0.5583 GB, free: 1.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.758, allocations: 8.031 kB / 0.5583 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.7684, allocations: 2.09 MB / 0.5604 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.7787, allocations: 3.378 MB / 0.5637 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.779, allocations: 112 kB / 0.5638 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/0.781, allocations: 207.9 kB / 0.564 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/0.7926, allocations: 5.112 MB / 0.569 GB, free: 6.418 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3296/1.122, allocations: 8.039 MB / 0.5768 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/1.122, allocations: 60.34 kB / 0.5769 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/1.123, allocations: 30.11 kB / 0.5769 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/1.124, allocations: 0.8806 MB / 0.5778 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/1.164, allocations: 41.27 MB / 0.6181 GB, free: 53.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/1.167, allocations: 2.505 MB / 0.6205 GB, free: 52.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/1.169, allocations: 1.402 MB / 0.6219 GB, free: 52.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/1.169, allocations: 0.6476 MB / 0.6225 GB, free: 52.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.169, allocations: 49.56 kB / 0.6226 GB, free: 52.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 4.198e-06/1.169, allocations: 0 / 0.6226 GB, free: 52.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.02046/1.19, allocations: 12.21 MB / 0.6345 GB, free: 49.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.19, allocations: 173 kB / 0.6347 GB, free: 48.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/1.195, allocations: 2.795 MB / 0.6374 GB, free: 47.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003735/1.195, allocations: 25.7 kB / 0.6374 GB, free: 47.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/1.197, allocations: 2.793 MB / 0.6401 GB, free: 45.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006734/1.198, allocations: 0.54 MB / 0.6407 GB, free: 45.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.198, allocations: 1.375 kB / 0.6407 GB, free: 45.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002806/1.198, allocations: 0.5428 MB / 0.6412 GB, free: 45.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.2, allocations: 1.608 MB / 0.6428 GB, free: 44.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/1.204, allocations: 5.141 MB / 0.6478 GB, free: 39.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004618/1.209, allocations: 2.862 MB / 0.6506 GB, free: 38.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.209, allocations: 35.97 kB / 0.6506 GB, free: 38.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01507/1.224, allocations: 6.053 MB / 0.6565 GB, free: 35.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.224, allocations: 62.89 kB / 0.6566 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002866/1.224, allocations: 128.3 kB / 0.6567 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/1.225, allocations: 344.9 kB / 0.657 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/1.23, allocations: 1.351 MB / 0.6584 GB, free: 35.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/1.232, allocations: 2.206 MB / 0.6605 GB, free: 34.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.237, allocations: 187.1 kB / 0.6607 GB, free: 34.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.238, allocations: 348.5 kB / 0.661 GB, free: 34.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * 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.001432/1.239, allocations: 426.2 kB / 0.6614 GB, free: 33.69 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005321/1.245, allocations: 2.667 MB / 0.664 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/1.246, allocations: 284.5 kB / 0.6643 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.251, allocations: 2.303 MB / 0.6666 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/1.251, allocations: 18.19 kB / 0.6666 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.251, allocations: 4.656 kB / 0.6666 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/1.251, allocations: 6.719 kB / 0.6666 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.265, allocations: 5.731 MB / 0.6722 GB, free: 29.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.265, allocations: 7.078 kB / 0.6722 GB, free: 29.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/1.266, allocations: 183.2 kB / 0.6724 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/1.268, allocations: 0.7137 MB / 0.6731 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.268, allocations: 9.922 kB / 0.6731 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/1.273, allocations: 4.29 MB / 0.6773 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.273, allocations: 3.562 kB / 0.6773 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/1.279, allocations: 4.464 MB / 0.6816 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.28, allocations: 334.5 kB / 0.6819 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008904/1.281, allocations: 6.797 kB / 0.6819 GB, free: 25.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.283, allocations: 47.56 kB / 0.682 GB, free: 25.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/1.283, allocations: 82 kB / 0.6821 GB, free: 24.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.283, allocations: 33.72 kB / 0.6821 GB, free: 24.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004724/1.288, allocations: 1.857 MB / 0.6839 GB, free: 24.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.288, allocations: 0 / 0.6839 GB, free: 24.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006751/1.295, allocations: 0.7152 MB / 0.6846 GB, free: 24.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.007596/1.302, allocations: 5.448 MB / 0.6899 GB, free: 21.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006325/1.309, allocations: 3.82 MB / 0.6937 GB, free: 20.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.309, allocations: 0 / 0.6937 GB, free: 20.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/1.31, allocations: 1.099 MB / 0.6947 GB, free: 19.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/1.313, allocations: 299.5 kB / 0.695 GB, free: 19.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.333, allocations: 6.918 MB / 0.7018 GB, free: 17.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/1.337, allocations: 2.86 MB / 0.7046 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004746/1.342, allocations: 1.733 MB / 0.7063 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002972/1.345, allocations: 1.515 MB / 0.7077 GB, free: 14.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/1.345, allocations: 0 / 0.7077 GB, free: 14.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3739/1.719, allocations: 60.12 MB / 0.7664 GB, free: 89.47 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.719, allocations: 160.8 kB / 0.7666 GB, free: 89.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/5.942, allocations: 0 / 0.7666 GB, free: 89.29 MB / 458.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