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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 92.25 kB / 16.95 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009616/0.0009615, allocations: 181.2 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005257, allocations: 14.34 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.09955, allocations: 47.58 MB / 328.5 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03046/0.1301, allocations: 31.38 MB / 359.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.1477, allocations: 7.44 MB / 367.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007657/0.1554, allocations: 147.6 kB / 367.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.1615, allocations: 1.575 MB / 369 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.1775, allocations: 4.856 MB / 373.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.1801, allocations: 0.5031 MB / 374.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005421/0.1855, allocations: 3.794 MB / 378.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2071/0.3926, allocations: 2.955 MB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.3954, allocations: 1.047 MB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.3988, allocations: 1.595 MB / 383.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006994/0.3996, allocations: 114.4 kB / 383.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.4019, allocations: 0.7944 MB / 384.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.4041, allocations: 1.401 MB / 386.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.4053, allocations: 0.7022 MB / 386.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006388/0.4117, allocations: 4.442 MB / 391.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4117, allocations: 1.188 kB / 391.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4117, allocations: 0 / 391.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002029/0.4119, allocations: 0 / 391.2 MB, free: 11.61 MB / 318.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.007734/0.4197, allocations: 3.374 MB / 394.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4197, allocations: 10.25 kB / 394.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/0.4209, allocations: 0.6106 MB / 395.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.427, allocations: 1.836 MB / 397 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.432, allocations: 2.336 MB / 399.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.4322, allocations: 191.6 kB / 399.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006968/0.4329, allocations: 260.7 kB / 399.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.4462, allocations: 8.415 MB / 408.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.4463, allocations: 44.86 kB / 408.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.4467, allocations: 124.2 kB / 408.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.449, allocations: 1.695 MB / 410.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.4621, allocations: 7.073 MB / 417.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.507, allocations: 34.14 MB / 451.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/0.5144, allocations: 3.266 MB / 454.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.5165, allocations: 1.458 MB / 456 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008097/0.5247, allocations: 4.375 MB / 460.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.5248, allocations: 54.59 kB / 460.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 4.389e-06/0.5248, allocations: 0 / 460.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03137/0.5561, allocations: 11.52 MB / 472 MB, free: 328 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.5563, allocations: 148.2 kB / 472.1 MB, free: 152 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007625/0.5639, allocations: 3.73 MB / 475.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/0.5642, allocations: 41.7 kB / 475.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.5664, allocations: 2.757 MB / 478.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000783/0.5672, allocations: 0.52 MB / 479.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/0.5677, allocations: 104 kB / 479.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004845/0.5682, allocations: 0.5214 MB / 479.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.5713, allocations: 1.677 MB / 481.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/0.5767, allocations: 5.098 MB / 486.6 MB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/0.582, allocations: 2.86 MB / 489.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/0.5821, allocations: 36 kB / 489.5 MB, free: 13.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0142/0.5963, allocations: 6.659 MB / 496.1 MB, free: 7.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/0.5964, allocations: 64.25 kB / 496.2 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/0.5966, allocations: 124 kB / 496.3 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.5973, allocations: 340.7 kB / 496.6 MB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/0.6012, allocations: 1.236 MB / 497.9 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.6037, allocations: 2.279 MB / 0.4884 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/0.6077, allocations: 291.5 kB / 0.4887 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006667/0.6084, allocations: 336 kB / 0.489 GB, free: 2.398 MB / 398.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.003498/0.6119, allocations: 1.786 MB / 0.4908 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007055/0.6126, allocations: 308 kB / 0.4911 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.6172, allocations: 2.371 MB / 0.4934 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.6173, allocations: 16.03 kB / 0.4934 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6173, allocations: 4 kB / 0.4934 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.6173, allocations: 7.984 kB / 0.4934 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.6283, allocations: 5.928 MB / 0.4992 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.6283, allocations: 0 / 0.4992 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.6291, allocations: 171.8 kB / 0.4994 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.6311, allocations: 0.7168 MB / 0.5001 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.6312, allocations: 20 kB / 0.5001 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/0.6367, allocations: 4.46 MB / 0.5044 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6368, allocations: 11.94 kB / 0.5044 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/0.6434, allocations: 4.304 MB / 0.5086 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.6449, allocations: 0.5397 MB / 0.5092 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/0.6457, allocations: 24.02 kB / 0.5092 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.6472, allocations: 74.56 kB / 0.5093 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.6474, allocations: 70.25 kB / 0.5093 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6475, allocations: 32 kB / 0.5094 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004264/0.6518, allocations: 2.316 MB / 0.5116 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6519, allocations: 4 kB / 0.5116 GB, free: 11.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005132/0.657, allocations: 0.8148 MB / 0.5124 GB, free: 10.22 MB / 430.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.00682/0.6638, allocations: 4.958 MB / 0.5173 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006898/0.6708, allocations: 3.989 MB / 0.5212 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6708, allocations: 0 / 0.5212 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.6724, allocations: 1.104 MB / 0.5222 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.6751, allocations: 375.2 kB / 0.5226 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2278/0.9029, allocations: 28.09 MB / 0.55 GB, free: 156.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.9058, allocations: 2.786 MB / 0.5527 GB, free: 155 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003812/0.9096, allocations: 1.661 MB / 0.5544 GB, free: 154.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/0.9117, allocations: 1.529 MB / 0.5559 GB, free: 153.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.522e-06/0.9117, allocations: 0 / 0.5559 GB, free: 153.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09264/1.004, allocations: 64.95 MB / 0.6193 GB, free: 92.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.005, allocations: 233.5 kB / 0.6195 GB, free: 92.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/5.104, allocations: 0 / 0.6195 GB, free: 92.57 MB / 446.1 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) Environment - environmentSimulation: 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