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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009757/0.0009757, allocations: 100.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002359, allocations: 8 kB / 306.8 MB, free: 1.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1176, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2699/0.3876, allocations: 31.39 MB / 389.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4081, allocations: 7.457 MB / 397.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00767/0.4158, allocations: 145.5 kB / 397.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005663/0.4215, allocations: 1.572 MB / 398.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.4377, allocations: 4.85 MB / 403.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.4407, allocations: 0.5037 MB / 404.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006656/0.4474, allocations: 3.849 MB / 408.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005219/0.4526, allocations: 2.95 MB / 411 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.4549, allocations: 1.047 MB / 412.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.4574, allocations: 1.581 MB / 413.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005185/0.4579, allocations: 116 kB / 413.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.4598, allocations: 0.7879 MB / 414.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.4613, allocations: 1.391 MB / 415.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.4622, allocations: 0.6987 MB / 416.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.4679, allocations: 4.433 MB / 421.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.468, allocations: 7.938 kB / 421.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.468, allocations: 4 kB / 421.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.4682, allocations: 0 / 421.1 MB, free: 12.92 MB / 334.1 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.006043/0.4742, allocations: 3.366 MB / 424.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4743, allocations: 8.031 kB / 424.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008016/0.4751, allocations: 0.6119 MB / 425.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006051/0.4811, allocations: 1.828 MB / 426.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/0.4863, allocations: 2.087 MB / 429 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.4864, allocations: 188.8 kB / 429.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.4869, allocations: 251.9 kB / 429.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.5003, allocations: 8.447 MB / 437.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.05e-05/0.5004, allocations: 39.69 kB / 437.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.5007, allocations: 119.9 kB / 438 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.5033, allocations: 1.695 MB / 439.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.5163, allocations: 7.094 MB / 446.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/0.5584, allocations: 34.13 MB / 480.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.5655, allocations: 3.281 MB / 484.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.5675, allocations: 1.466 MB / 485.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006518/0.574, allocations: 4.456 MB / 490.1 MB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.5741, allocations: 47.11 kB / 490.2 MB, free: 5.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.186e-06/0.5741, allocations: 0 / 490.2 MB, free: 5.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02696/0.601, allocations: 11.53 MB / 0.4899 GB, free: 9.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.6012, allocations: 141.2 kB / 0.4901 GB, free: 9.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/0.6063, allocations: 3.71 MB / 0.4937 GB, free: 6.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6064, allocations: 41.7 kB / 0.4937 GB, free: 6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.6085, allocations: 2.752 MB / 0.4964 GB, free: 3.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.609, allocations: 0.5171 MB / 0.4969 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.6092, allocations: 104 kB / 0.497 GB, free: 2.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.6096, allocations: 0.533 MB / 0.4976 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.6121, allocations: 1.677 MB / 0.4992 GB, free: 368 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005328/0.6174, allocations: 5.112 MB / 0.5042 GB, free: 9.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/0.6218, allocations: 2.871 MB / 0.507 GB, free: 6.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.502e-05/0.6219, allocations: 36 kB / 0.507 GB, free: 6.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01149/0.6334, allocations: 6.667 MB / 0.5135 GB, free: 15.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.6335, allocations: 59.95 kB / 0.5136 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.6337, allocations: 120 kB / 0.5137 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.6343, allocations: 349.1 kB / 0.514 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/0.638, allocations: 1.232 MB / 0.5152 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.6405, allocations: 2.291 MB / 0.5175 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.6444, allocations: 291.4 kB / 0.5178 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/0.6449, allocations: 328 kB / 0.5181 GB, free: 11.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * 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.002985/0.6479, allocations: 1.795 MB / 0.5198 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00062/0.6485, allocations: 312 kB / 0.5201 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.6531, allocations: 2.371 MB / 0.5224 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.6531, allocations: 15.94 kB / 0.5225 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6532, allocations: 4 kB / 0.5225 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.6532, allocations: 3.984 kB / 0.5225 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.6645, allocations: 5.938 MB / 0.5283 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6645, allocations: 0 / 0.5283 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.6653, allocations: 171.8 kB / 0.5284 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2677/0.9331, allocations: 0.7138 MB / 0.5291 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.9334, allocations: 24.09 kB / 0.5291 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006854/0.9403, allocations: 4.458 MB / 0.5335 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.9403, allocations: 1.375 kB / 0.5335 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008493/0.9488, allocations: 4.334 MB / 0.5377 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.9501, allocations: 368.6 kB / 0.5381 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/0.9505, allocations: 21.75 kB / 0.5381 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9515, allocations: 75.16 kB / 0.5382 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.9519, allocations: 64.84 kB / 0.5382 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.952, allocations: 40.72 kB / 0.5383 GB, free: 138.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005897/0.958, allocations: 2.301 MB / 0.5405 GB, free: 137.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.958, allocations: 0 / 0.5405 GB, free: 137.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00622/0.9642, allocations: 0.8206 MB / 0.5413 GB, free: 137.8 MB / 446.1 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 () * Number of clocked 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.008499/0.9727, allocations: 4.966 MB / 0.5462 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.9801, allocations: 4.003 MB / 0.5501 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.9801, allocations: 3.938 kB / 0.5501 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.9818, allocations: 1.113 MB / 0.5512 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.9845, allocations: 385.2 kB / 0.5515 GB, free: 133.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04761/1.032, allocations: 28.02 MB / 0.5789 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/1.036, allocations: 2.786 MB / 0.5816 GB, free: 106.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004083/1.04, allocations: 1.656 MB / 0.5832 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.042, allocations: 1.522 MB / 0.5847 GB, free: 103.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/1.042, allocations: 2.625 kB / 0.5847 GB, free: 103.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09003/1.132, allocations: 64.75 MB / 0.648 GB, free: 39.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.132, allocations: 231.1 kB / 0.6482 GB, free: 39.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/4.678, allocations: 0 / 0.6482 GB, free: 39.17 MB / 446.1 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