Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 172.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008195, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.623e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.0915, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4315, allocations: 97.66 MB / 467.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4318, allocations: 85.95 kB / 467.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1888/0.6206, allocations: 73.22 MB / 0.5284 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6206, allocations: 0 / 0.5284 GB, free: 3.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002234/0.6209, allocations: 68 kB / 0.5285 GB, free: 3.207 MB / 410.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.2209/0.8418, allocations: 3.398 MB / 0.5318 GB, free: 93.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8419, allocations: 8.625 kB / 0.5318 GB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/0.8447, allocations: 0.6422 MB / 0.5324 GB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009717/0.8544, allocations: 2.088 MB / 0.5345 GB, free: 93.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.8658, allocations: 4.044 MB / 0.5384 GB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.8662, allocations: 262.5 kB / 0.5387 GB, free: 92.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.8679, allocations: 357.3 kB / 0.539 GB, free: 92.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.8869, allocations: 8.93 MB / 0.5477 GB, free: 90.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.8871, allocations: 50.41 kB / 0.5478 GB, free: 90.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005435/0.8877, allocations: 173 kB / 0.5479 GB, free: 90.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/0.8889, allocations: 0.8863 MB / 0.5488 GB, free: 90.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.9004, allocations: 7.164 MB / 0.5558 GB, free: 89.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/0.9332, allocations: 42.98 MB / 0.5978 GB, free: 58.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006042/0.9393, allocations: 3.281 MB / 0.601 GB, free: 56.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.9406, allocations: 1.435 MB / 0.6024 GB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004595/0.9453, allocations: 4.431 MB / 0.6067 GB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.9453, allocations: 46.31 kB / 0.6067 GB, free: 53.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.938e-06/0.9453, allocations: 0 / 0.6067 GB, free: 53.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01908/0.9644, allocations: 9.657 MB / 0.6162 GB, free: 49.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.9645, allocations: 142.7 kB / 0.6163 GB, free: 49.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/0.9683, allocations: 3.303 MB / 0.6195 GB, free: 47.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.9684, allocations: 44.2 kB / 0.6196 GB, free: 47.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.9695, allocations: 2.752 MB / 0.6223 GB, free: 45.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.9699, allocations: 0.5291 MB / 0.6228 GB, free: 45.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.9701, allocations: 104 kB / 0.6229 GB, free: 45.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.9703, allocations: 0.527 MB / 0.6234 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.9721, allocations: 1.645 MB / 0.625 GB, free: 43.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.975, allocations: 5.059 MB / 0.6299 GB, free: 36.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.9779, allocations: 2.87 MB / 0.6327 GB, free: 34.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.929e-05/0.978, allocations: 32 kB / 0.6328 GB, free: 34.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.008411/0.9864, allocations: 6.602 MB / 0.6392 GB, free: 28.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.9865, allocations: 65.28 kB / 0.6393 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-05/0.9866, allocations: 120 kB / 0.6394 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.9872, allocations: 343.6 kB / 0.6397 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.9907, allocations: 1.281 MB / 0.641 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.9926, allocations: 2.301 MB / 0.6432 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.9964, allocations: 285.8 kB / 0.6435 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004686/0.9969, allocations: 335.5 kB / 0.6438 GB, free: 23.98 MB / 410.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.0006343/0.9975, allocations: 0.5164 MB / 0.6443 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.9979, allocations: 311.3 kB / 0.6446 GB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/1.002, allocations: 2.352 MB / 0.6469 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.002, allocations: 23.95 kB / 0.6469 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.002, allocations: 4 kB / 0.6469 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.002, allocations: 6.891 kB / 0.6469 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/1.011, allocations: 5.935 MB / 0.6527 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.011, allocations: 4.062 kB / 0.6527 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/1.012, allocations: 173.7 kB / 0.6529 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.014, allocations: 0.7101 MB / 0.6536 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/1.014, allocations: 24 kB / 0.6536 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/1.019, allocations: 4.432 MB / 0.658 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.019, allocations: 3.516 kB / 0.658 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/1.024, allocations: 4.429 MB / 0.6623 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.025, allocations: 0.5365 MB / 0.6628 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/1.026, allocations: 19.47 kB / 0.6628 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.027, allocations: 71.48 kB / 0.6629 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.028, allocations: 69.7 kB / 0.663 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/1.028, allocations: 34.25 kB / 0.663 GB, free: 7.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00303/1.031, allocations: 2.293 MB / 0.6652 GB, free: 5.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.031, allocations: 0 / 0.6652 GB, free: 5.301 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003813/1.035, allocations: 0.8254 MB / 0.666 GB, free: 4.48 MB / 410.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.006193/1.041, allocations: 5.353 MB / 0.6713 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006629/1.047, allocations: 3.958 MB / 0.6751 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.048, allocations: 0 / 0.6751 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.049, allocations: 1.086 MB / 0.6762 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.051, allocations: 367.8 kB / 0.6765 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.065, allocations: 7.039 MB / 0.6834 GB, free: 2.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2001/1.265, allocations: 2.858 MB / 0.6862 GB, free: 97.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006113/1.272, allocations: 1.664 MB / 0.6878 GB, free: 97.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003136/1.275, allocations: 1.536 MB / 0.6893 GB, free: 97.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.275, allocations: 0 / 0.6893 GB, free: 97.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09424/1.369, allocations: 65.26 MB / 0.7531 GB, free: 79.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/1.369, allocations: 194.7 kB / 0.7533 GB, free: 79.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/5.019, allocations: 0 / 0.7533 GB, free: 79.16 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat