Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 95.48 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.957e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.533, allocations: 99.38 MB / 493.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5333, allocations: 87.95 kB / 493.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5093/1.043, allocations: 74.1 MB / 0.5546 GB, free: 98.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/1.043, allocations: 0 / 0.5546 GB, free: 98.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001688/1.043, allocations: 69.09 kB / 0.5547 GB, free: 98.09 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.01106/1.054, allocations: 3.394 MB / 0.558 GB, free: 96.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.054, allocations: 10.16 kB / 0.558 GB, free: 96.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/1.056, allocations: 0.6511 MB / 0.5586 GB, free: 96.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/1.067, allocations: 2.088 MB / 0.5607 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/1.079, allocations: 3.887 MB / 0.5645 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/1.08, allocations: 266.1 kB / 0.5647 GB, free: 95.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/1.082, allocations: 351.4 kB / 0.5651 GB, free: 95.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/1.105, allocations: 8.93 MB / 0.5738 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/1.106, allocations: 61.98 kB / 0.5738 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006388/1.106, allocations: 175.3 kB / 0.574 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/1.107, allocations: 0.8805 MB / 0.5749 GB, free: 93.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/1.121, allocations: 7.173 MB / 0.5819 GB, free: 93.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/1.165, allocations: 42.94 MB / 0.6238 GB, free: 59.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/1.172, allocations: 3.287 MB / 0.627 GB, free: 58.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/1.174, allocations: 1.437 MB / 0.6284 GB, free: 57.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006739/1.18, allocations: 4.419 MB / 0.6327 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.181, allocations: 54.5 kB / 0.6328 GB, free: 54.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 4.208e-06/1.181, allocations: 0 / 0.6328 GB, free: 54.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.02185/1.202, allocations: 9.591 MB / 0.6422 GB, free: 50.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.203, allocations: 140 kB / 0.6423 GB, free: 50.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/1.208, allocations: 3.29 MB / 0.6455 GB, free: 47.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/1.208, allocations: 41.7 kB / 0.6455 GB, free: 47.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.209, allocations: 2.755 MB / 0.6482 GB, free: 45.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/1.21, allocations: 0.5165 MB / 0.6487 GB, free: 44.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.21, allocations: 104 kB / 0.6488 GB, free: 44.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003262/1.21, allocations: 0.5372 MB / 0.6494 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/1.213, allocations: 1.64 MB / 0.651 GB, free: 42.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/1.216, allocations: 5.052 MB / 0.6559 GB, free: 36.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.219, allocations: 2.875 MB / 0.6587 GB, free: 33.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.44e-05/1.219, allocations: 36 kB / 0.6587 GB, free: 33.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.00979/1.229, allocations: 6.603 MB / 0.6652 GB, free: 27.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/1.229, allocations: 60.73 kB / 0.6652 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.229, allocations: 127.9 kB / 0.6654 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/1.23, allocations: 331.9 kB / 0.6657 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/1.234, allocations: 1.285 MB / 0.6669 GB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.236, allocations: 2.296 MB / 0.6692 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.24, allocations: 291.6 kB / 0.6695 GB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006089/1.241, allocations: 327.8 kB / 0.6698 GB, free: 23.41 MB / 426.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.0006905/1.242, allocations: 0.5239 MB / 0.6703 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/1.242, allocations: 308 kB / 0.6706 GB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/1.246, allocations: 2.349 MB / 0.6729 GB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.246, allocations: 22.59 kB / 0.6729 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.246, allocations: 4 kB / 0.6729 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.246, allocations: 3.422 kB / 0.6729 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.258, allocations: 5.946 MB / 0.6787 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.258, allocations: 4 kB / 0.6787 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/1.259, allocations: 167.4 kB / 0.6789 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/1.261, allocations: 0.7106 MB / 0.6796 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.59e-05/1.261, allocations: 27.94 kB / 0.6796 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/1.266, allocations: 4.424 MB / 0.6839 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.266, allocations: 4 kB / 0.6839 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005782/1.271, allocations: 4.428 MB / 0.6882 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.273, allocations: 368.9 kB / 0.6886 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.273, allocations: 31 kB / 0.6886 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.274, allocations: 63.92 kB / 0.6887 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.274, allocations: 68.8 kB / 0.6887 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/1.274, allocations: 31.94 kB / 0.6888 GB, free: 5.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003301/1.278, allocations: 2.279 MB / 0.691 GB, free: 3.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.278, allocations: 4.062 kB / 0.691 GB, free: 3.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004587/1.282, allocations: 0.8356 MB / 0.6918 GB, free: 2.43 MB / 426.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.007023/1.289, allocations: 5.336 MB / 0.697 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007993/1.297, allocations: 3.965 MB / 0.7009 GB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.297, allocations: 0 / 0.7009 GB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.299, allocations: 1.086 MB / 0.702 GB, free: 7.988 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.301, allocations: 363 kB / 0.7023 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/1.319, allocations: 7.04 MB / 0.7092 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2518/1.571, allocations: 2.859 MB / 0.712 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006213/1.577, allocations: 1.655 MB / 0.7136 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003413/1.581, allocations: 1.53 MB / 0.7151 GB, free: 100.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.581, allocations: 0 / 0.7151 GB, free: 100.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.687, allocations: 65.19 MB / 0.7787 GB, free: 82.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.687, allocations: 197.2 kB / 0.7789 GB, free: 82.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.174/5.861, allocations: 0 / 0.7789 GB, free: 82.48 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat