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.001401/0.001401, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0009275/0.0009272, allocations: 94.67 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.213e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09774, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4541, allocations: 98.72 MB / 486.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4545, allocations: 91.89 kB / 486.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.19/0.6445, allocations: 72.72 MB / 0.546 GB, free: 2.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6446, allocations: 0 / 0.546 GB, free: 2.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001717/0.6447, allocations: 68 kB / 0.546 GB, free: 2.555 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.283/0.9277, allocations: 3.383 MB / 0.5493 GB, free: 98.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.9278, allocations: 8.844 kB / 0.5494 GB, free: 98.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.9387, allocations: 2.091 MB / 0.5514 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.9511, allocations: 3.886 MB / 0.5552 GB, free: 97.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.9515, allocations: 109.7 kB / 0.5553 GB, free: 97.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/0.9535, allocations: 213 kB / 0.5555 GB, free: 97.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/0.9664, allocations: 5.112 MB / 0.5605 GB, free: 97.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.9877, allocations: 8.048 MB / 0.5684 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003884/0.9881, allocations: 55.31 kB / 0.5684 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/0.9899, allocations: 30.81 kB / 0.5684 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.9914, allocations: 0.8847 MB / 0.5693 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/1.032, allocations: 41.25 MB / 0.6096 GB, free: 65.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.035, allocations: 2.517 MB / 0.612 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.036, allocations: 1.391 MB / 0.6134 GB, free: 63.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/1.037, allocations: 0.6511 MB / 0.614 GB, free: 63.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.037, allocations: 49.84 kB / 0.6141 GB, free: 63.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 3.597e-06/1.037, allocations: 3.469 kB / 0.6141 GB, free: 63.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.0206/1.057, allocations: 12.21 MB / 0.626 GB, free: 57.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.057, allocations: 170.3 kB / 0.6262 GB, free: 57.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/1.062, allocations: 2.799 MB / 0.6289 GB, free: 56.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.062, allocations: 25.7 kB / 0.6289 GB, free: 56.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.063, allocations: 2.786 MB / 0.6317 GB, free: 54.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006476/1.064, allocations: 0.5423 MB / 0.6322 GB, free: 53.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/1.064, allocations: 2.375 kB / 0.6322 GB, free: 53.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002864/1.064, allocations: 0.5385 MB / 0.6327 GB, free: 53.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/1.066, allocations: 1.608 MB / 0.6343 GB, free: 52.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/1.07, allocations: 5.151 MB / 0.6393 GB, free: 47.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/1.073, allocations: 2.857 MB / 0.6421 GB, free: 46.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.299e-05/1.074, allocations: 37.56 kB / 0.6421 GB, free: 46.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.009303/1.083, allocations: 6.055 MB / 0.6481 GB, free: 42.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/1.083, allocations: 62.5 kB / 0.6481 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.083, allocations: 128 kB / 0.6482 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/1.084, allocations: 345.8 kB / 0.6486 GB, free: 41.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.087, allocations: 1.339 MB / 0.6499 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.089, allocations: 2.208 MB / 0.652 GB, free: 38.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.093, allocations: 192.8 kB / 0.6522 GB, free: 38.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/1.093, allocations: 351.5 kB / 0.6525 GB, free: 37.76 MB / 426.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.0005844/1.094, allocations: 418.7 kB / 0.6529 GB, free: 37.34 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004441/1.098, allocations: 2.687 MB / 0.6556 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/1.099, allocations: 280.3 kB / 0.6558 GB, free: 34.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/1.103, allocations: 2.298 MB / 0.6581 GB, free: 33.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/1.103, allocations: 23.84 kB / 0.6581 GB, free: 33.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.103, allocations: 7.938 kB / 0.6581 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/1.103, allocations: 3.938 kB / 0.6581 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009778/1.113, allocations: 5.724 MB / 0.6637 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.113, allocations: 0 / 0.6637 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/1.114, allocations: 181.4 kB / 0.6639 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.116, allocations: 0.7159 MB / 0.6646 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.116, allocations: 4 kB / 0.6646 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/1.12, allocations: 4.297 MB / 0.6688 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.12, allocations: 0 / 0.6688 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005787/1.126, allocations: 4.467 MB / 0.6731 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/1.127, allocations: 343.2 kB / 0.6735 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/1.127, allocations: 7.703 kB / 0.6735 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.128, allocations: 49.86 kB / 0.6735 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.129, allocations: 77.11 kB / 0.6736 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.129, allocations: 40.94 kB / 0.6736 GB, free: 19.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003203/1.132, allocations: 1.851 MB / 0.6754 GB, free: 18.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.132, allocations: 0 / 0.6754 GB, free: 18.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005283/1.137, allocations: 0.7136 MB / 0.6761 GB, free: 17.36 MB / 426.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.006054/1.143, allocations: 5.435 MB / 0.6814 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005365/1.149, allocations: 3.813 MB / 0.6852 GB, free: 9.066 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.149, allocations: 14.28 kB / 0.6852 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.15, allocations: 1.099 MB / 0.6863 GB, free: 8.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.152, allocations: 296.8 kB / 0.6865 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.165, allocations: 6.907 MB / 0.6933 GB, free: 1.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.168, allocations: 2.868 MB / 0.6961 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004218/1.172, allocations: 1.725 MB / 0.6978 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/1.174, allocations: 1.519 MB / 0.6993 GB, free: 11.26 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/1.174, allocations: 0 / 0.6993 GB, free: 11.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3654/1.54, allocations: 60.12 MB / 0.758 GB, free: 93.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.54, allocations: 155.3 kB / 0.7581 GB, free: 93.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/5.389, allocations: 2.812 kB / 0.7581 GB, free: 93.31 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