Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01023/0.01023, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.983/1.983, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002027/0.002027, allocations: 112.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2576/0.2576, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004955, allocations: 14.3 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6218, allocations: 95.57 MB / 0.5437 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6221, allocations: 79.92 kB / 0.5437 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3923/1.014, allocations: 96.17 MB / 0.6377 GB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.014, allocations: 0 / 0.6377 GB, free: 6.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003207/1.015, allocations: 95.98 kB / 0.6377 GB, free: 5.965 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.04598/1.061, allocations: 6.102 MB / 0.6437 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.061, allocations: 8.031 kB / 0.6437 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004764/1.066, allocations: 0.8721 MB / 0.6446 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02682/1.092, allocations: 2.915 MB / 0.6474 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.123, allocations: 7.228 MB / 0.6545 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000599/1.123, allocations: 353.3 kB / 0.6548 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003066/1.126, allocations: 479.8 kB / 0.6553 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04118/1.168, allocations: 12.27 MB / 0.6672 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/1.168, allocations: 79.23 kB / 0.6673 GB, free: 6.281 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002346/1.17, allocations: 235.9 kB / 0.6675 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003462/1.174, allocations: 1.19 MB / 0.6687 GB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03811/1.212, allocations: 10.48 MB / 0.6789 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4609/1.673, allocations: 57.04 MB / 0.7346 GB, free: 75.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02609/1.699, allocations: 5.058 MB / 0.7396 GB, free: 74.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03058/1.73, allocations: 11.14 MB / 0.7505 GB, free: 71.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/1.73, allocations: 52 kB / 0.7505 GB, free: 71.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=198): time 6.012e-06/1.73, allocations: 0 / 0.7505 GB, free: 71.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=237): time 0.1057/1.835, allocations: 24.46 MB / 0.7744 GB, free: 67.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003482/1.839, allocations: 4.633 MB / 0.7789 GB, free: 63.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.851, allocations: 4.111 MB / 0.7829 GB, free: 62.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007745/1.851, allocations: 65.27 kB / 0.783 GB, free: 62.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003111/1.855, allocations: 3.484 MB / 0.7864 GB, free: 60.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.856, allocations: 0.9452 MB / 0.7873 GB, free: 60.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/1.857, allocations: 139.6 kB / 0.7875 GB, free: 60.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005547/1.858, allocations: 0.619 MB / 0.7881 GB, free: 59.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009234/1.867, allocations: 3.196 MB / 0.7912 GB, free: 59.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/1.88, allocations: 7.421 MB / 0.7984 GB, free: 53.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.892, allocations: 4.738 MB / 0.8031 GB, free: 52.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001954/1.893, allocations: 46.3 kB / 0.8031 GB, free: 52.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0471/1.94, allocations: 13.15 MB / 0.8159 GB, free: 48.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.94, allocations: 67.03 kB / 0.816 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02623/1.966, allocations: 6.406 MB / 0.8223 GB, free: 46.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/1.986, allocations: 3.355 MB / 0.8255 GB, free: 43.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/1.997, allocations: 1.693 MB / 0.8272 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/2.025, allocations: 16.32 MB / 0.8431 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/2.037, allocations: 0.7673 MB / 0.8439 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/2.039, allocations: 443.6 kB / 0.8443 GB, free: 26.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (882): * Single equations (assignments): 862 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007315/2.047, allocations: 2.305 MB / 0.8466 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/2.048, allocations: 414.7 kB / 0.847 GB, free: 24.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02763/2.076, allocations: 6.985 MB / 0.8538 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02539/2.101, allocations: 6.343 MB / 0.86 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/2.101, allocations: 15.84 kB / 0.86 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.577e-05/2.101, allocations: 11.53 kB / 0.86 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/2.151, allocations: 14.97 MB / 0.8746 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-05/2.151, allocations: 4 kB / 0.8746 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003973/2.155, allocations: 415.8 kB / 0.875 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02018/2.175, allocations: 3.35 MB / 0.8783 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008909/2.176, allocations: 71.94 kB / 0.8784 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04126/2.217, allocations: 16.94 MB / 0.8949 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004666/2.222, allocations: 4.445 MB / 0.8992 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03883/2.261, allocations: 10.89 MB / 0.9099 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/2.263, allocations: 479.7 kB / 0.9103 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/2.264, allocations: 65.3 kB / 0.9104 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00581/2.27, allocations: 331.5 kB / 0.9107 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/2.271, allocations: 189.3 kB / 0.9109 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/2.272, allocations: 77.05 kB / 0.911 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009919/2.282, allocations: 2.882 MB / 0.9138 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/2.282, allocations: 3.938 kB / 0.9138 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01059/2.292, allocations: 1.496 MB / 0.9153 GB, free: 5.621 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.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 (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4088/2.701, allocations: 12.46 MB / 0.9274 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04186/2.743, allocations: 9.245 MB / 0.9365 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/2.743, allocations: 0 / 0.9365 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02324/2.766, allocations: 4.57 MB / 0.9409 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006727/2.773, allocations: 499.5 kB / 0.9414 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2074/2.981, allocations: 150.5 MB / 1.088 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/2.994, allocations: 3.736 MB / 1.092 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01541/3.009, allocations: 2.196 MB / 1.094 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008762/3.018, allocations: 2.221 MB / 1.096 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of SimCode: time 2.084e-06/3.018, allocations: 0 / 1.096 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6866/3.705, allocations: 104.9 MB / 1.199 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/3.705, allocations: 204.8 kB / 1.199 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/10.41, allocations: 0 / 1.199 GB, free: 160.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat