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.001638/0.001638, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.806/1.806, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009559/0.0009559, allocations: 94.42 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.618e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.5393, allocations: 100 MB / 0.4904 GB, free: 5.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5396, allocations: 87.69 kB / 0.4905 GB, free: 5.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.208/0.7476, allocations: 74.89 MB / 0.5636 GB, free: 11.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7477, allocations: 4 kB / 0.5636 GB, free: 11.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002739/0.748, allocations: 67.94 kB / 0.5637 GB, free: 11.73 MB / 442.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.01299/0.761, allocations: 3.412 MB / 0.567 GB, free: 8.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.761, allocations: 12.03 kB / 0.567 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003324/0.7644, allocations: 0.651 MB / 0.5677 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.775, allocations: 2.09 MB / 0.5697 GB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.7861, allocations: 3.378 MB / 0.573 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006082/0.7868, allocations: 266.9 kB / 0.5733 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/0.7894, allocations: 355.8 kB / 0.5736 GB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3269/1.116, allocations: 8.919 MB / 0.5823 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/1.117, allocations: 55.56 kB / 0.5824 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/1.119, allocations: 177 kB / 0.5825 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/1.121, allocations: 0.8834 MB / 0.5834 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/1.136, allocations: 7.163 MB / 0.5904 GB, free: 80.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/1.186, allocations: 42.94 MB / 0.6323 GB, free: 53.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008512/1.194, allocations: 3.283 MB / 0.6355 GB, free: 52.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/1.197, allocations: 1.445 MB / 0.6369 GB, free: 51.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/1.205, allocations: 4.423 MB / 0.6412 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.205, allocations: 43.03 kB / 0.6413 GB, free: 48.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.34e-06/1.205, allocations: 0 / 0.6413 GB, free: 48.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.02633/1.231, allocations: 9.589 MB / 0.6507 GB, free: 45.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.231, allocations: 143.7 kB / 0.6508 GB, free: 44.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005514/1.237, allocations: 3.284 MB / 0.654 GB, free: 43.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003657/1.237, allocations: 45.2 kB / 0.654 GB, free: 43.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.239, allocations: 2.758 MB / 0.6567 GB, free: 41.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007358/1.24, allocations: 0.5194 MB / 0.6572 GB, free: 41.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.24, allocations: 103.4 kB / 0.6573 GB, free: 41.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002643/1.24, allocations: 0.539 MB / 0.6579 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/1.243, allocations: 1.638 MB / 0.6595 GB, free: 40.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/1.246, allocations: 5.059 MB / 0.6644 GB, free: 34.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/1.25, allocations: 2.878 MB / 0.6672 GB, free: 33.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/1.25, allocations: 34.66 kB / 0.6672 GB, free: 33.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01266/1.263, allocations: 6.6 MB / 0.6737 GB, free: 31.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.263, allocations: 62.41 kB / 0.6738 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002526/1.263, allocations: 122.8 kB / 0.6739 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/1.264, allocations: 342.1 kB / 0.6742 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00472/1.269, allocations: 1.283 MB / 0.6755 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/1.271, allocations: 2.298 MB / 0.6777 GB, free: 29.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/1.277, allocations: 283 kB / 0.678 GB, free: 29.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.278, allocations: 333 kB / 0.6783 GB, free: 29.37 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 () * 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.002019/1.28, allocations: 0.5205 MB / 0.6788 GB, free: 28.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.281, allocations: 309.6 kB / 0.6791 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/1.287, allocations: 2.352 MB / 0.6814 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/1.287, allocations: 18.44 kB / 0.6814 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.287, allocations: 7.344 kB / 0.6814 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/1.287, allocations: 6.703 kB / 0.6814 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.303, allocations: 5.939 MB / 0.6872 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.303, allocations: 4.062 kB / 0.6872 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/1.304, allocations: 177.7 kB / 0.6874 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/1.306, allocations: 0.7084 MB / 0.6881 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/1.306, allocations: 20 kB / 0.6881 GB, free: 25.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/1.311, allocations: 4.438 MB / 0.6924 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.311, allocations: 0 / 0.6924 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/1.319, allocations: 4.421 MB / 0.6967 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.32, allocations: 378.2 kB / 0.6971 GB, free: 21.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.322, allocations: 19.53 kB / 0.6971 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.324, allocations: 73.45 kB / 0.6972 GB, free: 20.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.324, allocations: 74.19 kB / 0.6973 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.324, allocations: 30.62 kB / 0.6973 GB, free: 20.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005504/1.33, allocations: 2.282 MB / 0.6995 GB, free: 20.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.33, allocations: 0 / 0.6995 GB, free: 20.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007043/1.337, allocations: 0.8307 MB / 0.7003 GB, free: 20.07 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 () * 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.008023/1.345, allocations: 5.341 MB / 0.7056 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00651/1.352, allocations: 3.958 MB / 0.7094 GB, free: 12.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.352, allocations: 4 kB / 0.7094 GB, free: 12.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.353, allocations: 1.093 MB / 0.7105 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.356, allocations: 358.7 kB / 0.7108 GB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/1.377, allocations: 7.042 MB / 0.7177 GB, free: 4.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00454/1.382, allocations: 2.859 MB / 0.7205 GB, free: 2.539 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005023/1.387, allocations: 1.658 MB / 0.7221 GB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00319/1.39, allocations: 1.529 MB / 0.7236 GB, free: 88 kB / 442.7 MB Notification: Performance of SimCode: time 1.874e-06/1.39, allocations: 0 / 0.7236 GB, free: 88 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4193/1.809, allocations: 65.34 MB / 0.7874 GB, free: 82.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.81, allocations: 204.7 kB / 0.7876 GB, free: 82.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.37/6.18, allocations: 0 / 0.7876 GB, free: 82.57 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