Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.0009491/0.0009492, allocations: 89.88 kB / 16.31 MB, free: 5.637 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.001209/0.001209, allocations: 178.7 kB / 17.2 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 8.547 kB / 300.9 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 50.43 MB / 351.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03651/0.1544, allocations: 38.2 MB / 389.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02557/0.18, allocations: 8.675 MB / 398.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009057/0.1891, allocations: 183.5 kB / 398.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007262/0.1964, allocations: 1.963 MB / 400.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01848/0.2149, allocations: 5.903 MB / 406.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.2184, allocations: 0.5733 MB / 406.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006809/0.2252, allocations: 4.245 MB / 411.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007364/0.2326, allocations: 4.182 MB / 415.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.2352, allocations: 1.199 MB / 416.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.2382, allocations: 1.799 MB / 418.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.2388, allocations: 136 kB / 418.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.2409, allocations: 0.9128 MB / 419.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.2427, allocations: 1.601 MB / 420.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.2437, allocations: 0.8038 MB / 421.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2956/0.5393, allocations: 5.107 MB / 426.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.5394, allocations: 2.516 kB / 426.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5394, allocations: 0 / 426.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003148/0.5397, allocations: 0 / 426.8 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008871/0.5486, allocations: 3.793 MB / 430.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5487, allocations: 12.97 kB / 430.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001744/0.5504, allocations: 0.7256 MB / 431.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007628/0.5581, allocations: 1.936 MB / 433.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/0.5637, allocations: 2.255 MB / 435.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.564, allocations: 245.2 kB / 435.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.5651, allocations: 398.8 kB / 436.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.5838, allocations: 10.05 MB / 446.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.5839, allocations: 35.38 kB / 446.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.5844, allocations: 166.6 kB / 446.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/0.5873, allocations: 1.858 MB / 448.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.6036, allocations: 8.29 MB / 456.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.651, allocations: 39.33 MB / 495.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.6611, allocations: 3.983 MB / 499.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.6634, allocations: 1.426 MB / 0.4896 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.6745, allocations: 7.603 MB / 0.497 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6746, allocations: 58.34 kB / 0.497 GB, free: 14.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.338e-06/0.6746, allocations: 0 / 0.497 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03112/0.7057, allocations: 12.35 MB / 0.5091 GB, free: 3.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001629/0.7074, allocations: 1.588 MB / 0.5106 GB, free: 2.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006792/0.7142, allocations: 3.795 MB / 0.5143 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.7146, allocations: 45.7 kB / 0.5144 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.7171, allocations: 3.112 MB / 0.5174 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/0.7181, allocations: 0.6467 MB / 0.5181 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.7183, allocations: 124.1 kB / 0.5182 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003868/0.7187, allocations: 0.5704 MB / 0.5187 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.7217, allocations: 1.976 MB / 0.5207 GB, free: 8.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005528/0.7272, allocations: 5.921 MB / 0.5265 GB, free: 372 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/0.7323, allocations: 3.339 MB / 0.5297 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.914e-05/0.7324, allocations: 43.95 kB / 0.5298 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02027/0.7527, allocations: 8.718 MB / 0.5383 GB, free: 5.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.7528, allocations: 64 kB / 0.5383 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005742/0.7586, allocations: 2.784 MB / 0.541 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/0.7632, allocations: 1.541 MB / 0.5426 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.7679, allocations: 1.362 MB / 0.5439 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.7742, allocations: 5.516 MB / 0.5493 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/0.7796, allocations: 403.4 kB / 0.5497 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/0.7811, allocations: 394.7 kB / 0.55 GB, free: 9.098 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.005564/0.7867, allocations: 2.008 MB / 0.552 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009822/0.7877, allocations: 327.8 kB / 0.5523 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007642/0.7953, allocations: 3.12 MB / 0.5554 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005505/0.8008, allocations: 2.67 MB / 0.558 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.8009, allocations: 4 kB / 0.558 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.8009, allocations: 8.531 kB / 0.558 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.8199, allocations: 8.562 MB / 0.5663 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.82, allocations: 0 / 0.5663 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.821, allocations: 190 kB / 0.5665 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/0.8253, allocations: 1.445 MB / 0.5679 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002721/0.8256, allocations: 35.94 kB / 0.568 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/0.8324, allocations: 5.717 MB / 0.5735 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001076/0.8335, allocations: 1.456 MB / 0.575 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0099/0.8434, allocations: 5.288 MB / 0.5801 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.8449, allocations: 380.7 kB / 0.5805 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009152/0.8458, allocations: 39.69 kB / 0.5805 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.8476, allocations: 119.8 kB / 0.5806 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.8479, allocations: 91.28 kB / 0.5807 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.848, allocations: 47.98 kB / 0.5808 GB, free: 9.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004969/0.853, allocations: 2.326 MB / 0.583 GB, free: 6.957 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.853, allocations: 0 / 0.583 GB, free: 6.957 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006396/0.8594, allocations: 1 MB / 0.584 GB, free: 5.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.009492/0.8689, allocations: 5.763 MB / 0.5897 GB, free: 184 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2655/1.134, allocations: 5.348 MB / 0.5949 GB, free: 181.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.135, allocations: 3.609 kB / 0.5949 GB, free: 181.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004089/1.139, allocations: 2.016 MB / 0.5968 GB, free: 180.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/1.141, allocations: 379.3 kB / 0.5972 GB, free: 180.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0578/1.199, allocations: 33.08 MB / 0.6295 GB, free: 157.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/1.203, allocations: 3.106 MB / 0.6325 GB, free: 154.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00414/1.207, allocations: 1.803 MB / 0.6343 GB, free: 152.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/1.209, allocations: 1.771 MB / 0.636 GB, free: 151.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/1.209, allocations: 0 / 0.636 GB, free: 151.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.321, allocations: 73.45 MB / 0.7078 GB, free: 78.16 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.322, allocations: 226.1 kB / 0.708 GB, free: 77.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/5.032, allocations: 0 / 0.708 GB, free: 77.92 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat