Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 83.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3227, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01331/0.3361, allocations: 10.5 MB / 0.5409 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009252/0.3454, allocations: 3.242 MB / 0.544 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.3486, allocations: 53.38 kB / 0.5441 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.3544, allocations: 2.377 MB / 0.5464 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.359, allocations: 1.209 MB / 0.5476 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3608, allocations: 0.5165 MB / 0.5481 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005342/0.3661, allocations: 2.922 MB / 0.5509 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/0.3709, allocations: 3.027 MB / 0.5539 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.3735, allocations: 1.261 MB / 0.5551 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.377, allocations: 1.721 MB / 0.5568 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.3782, allocations: 296 kB / 0.5571 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.3812, allocations: 0.9986 MB / 0.5581 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002422/0.3836, allocations: 1.59 MB / 0.5596 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003706/0.3873, allocations: 1.957 MB / 0.5615 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009704/0.3971, allocations: 6.261 MB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3971, allocations: 4 kB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3971, allocations: 0 / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.3974, allocations: 0 / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01212/0.4095, allocations: 4.359 MB / 0.5719 GB, free: 7.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4096, allocations: 8.031 kB / 0.5719 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001956/0.4115, allocations: 0.6913 MB / 0.5726 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.4184, allocations: 1.839 MB / 0.5744 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.4229, allocations: 1.773 MB / 0.5761 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.4232, allocations: 225.8 kB / 0.5763 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4244, allocations: 303.8 kB / 0.5766 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/0.4492, allocations: 10.66 MB / 0.587 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.4496, allocations: 31.73 kB / 0.5871 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.4512, allocations: 147.9 kB / 0.5872 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005689/0.4569, allocations: 2.04 MB / 0.5892 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.4849, allocations: 9.348 MB / 0.5983 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05015/0.5351, allocations: 37.9 MB / 0.6353 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.5466, allocations: 4.208 MB / 0.6394 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.5498, allocations: 2.301 MB / 0.6417 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008986/0.5588, allocations: 6.113 MB / 0.6477 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.5589, allocations: 51.81 kB / 0.6477 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.05e-06/0.5589, allocations: 0 / 0.6477 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06435/0.6233, allocations: 22.23 MB / 0.6694 GB, free: 0.9922 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6234, allocations: 153.8 kB / 0.6696 GB, free: 0.8086 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.6282, allocations: 3.39 MB / 0.6729 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.6286, allocations: 49.7 kB / 0.6729 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.6309, allocations: 2.92 MB / 0.6758 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.632, allocations: 0.8178 MB / 0.6766 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.6337, allocations: 1.203 MB / 0.6778 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6338, allocations: 305.1 kB / 0.678 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.6375, allocations: 2.346 MB / 0.6803 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006403/0.6439, allocations: 5.788 MB / 0.686 GB, free: 14.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.6552, allocations: 8.824 MB / 0.6946 GB, free: 3.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.466e-05/0.6553, allocations: 32 kB / 0.6946 GB, free: 3.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01645/0.6718, allocations: 8.712 MB / 0.7031 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.6719, allocations: 56 kB / 0.7032 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/0.672, allocations: 127.9 kB / 0.7033 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.6748, allocations: 1.038 MB / 0.7043 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/0.6794, allocations: 1.384 MB / 0.7057 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.6858, allocations: 5.816 MB / 0.7114 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/0.6898, allocations: 327.6 kB / 0.7117 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/0.6906, allocations: 356 kB / 0.712 GB, free: 1.539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003394/0.694, allocations: 1.95 MB / 0.7139 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.6947, allocations: 329.7 kB / 0.7142 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007481/0.7022, allocations: 3.959 MB / 0.7181 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-05/0.7022, allocations: 23.91 kB / 0.7181 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.7023, allocations: 8 kB / 0.7181 GB, free: 11.24 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.7023, allocations: 7.969 kB / 0.7181 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.7178, allocations: 8.811 MB / 0.7267 GB, free: 2.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.7178, allocations: 7.984 kB / 0.7267 GB, free: 2.312 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.7197, allocations: 351.5 kB / 0.7271 GB, free: 1.969 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.7224, allocations: 0.8617 MB / 0.7279 GB, free: 1.094 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.7226, allocations: 47.92 kB / 0.728 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.26/0.9826, allocations: 5.125 MB / 0.733 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9827, allocations: 3.938 kB / 0.733 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.9929, allocations: 6.927 MB / 0.7397 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/0.994, allocations: 369.9 kB / 0.7401 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/0.9945, allocations: 36.95 kB / 0.7401 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.996, allocations: 118.2 kB / 0.7402 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/0.9964, allocations: 114.5 kB / 0.7404 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/0.9966, allocations: 55.56 kB / 0.7404 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003536/1, allocations: 2.078 MB / 0.7424 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.252e-06/1, allocations: 0 / 0.7424 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004485/1.005, allocations: 0.9577 MB / 0.7434 GB, free: 171.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009022/1.014, allocations: 7.569 MB / 0.7508 GB, free: 168.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009178/1.023, allocations: 6.164 MB / 0.7568 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.023, allocations: 0 / 0.7568 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/1.026, allocations: 2.485 MB / 0.7592 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.029, allocations: 351.9 kB / 0.7595 GB, free: 162.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.077, allocations: 44.21 MB / 0.8027 GB, free: 113.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/1.079, allocations: 3.017 MB / 0.8057 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003381/1.082, allocations: 1.861 MB / 0.8075 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/1.084, allocations: 1.71 MB / 0.8092 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.372e-06/1.084, allocations: 0 / 0.8092 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.187, allocations: 64.23 MB / 0.8719 GB, free: 43.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/19.85, allocations: 11.64 kB / 0.8719 GB, free: 43.19 MB / 0.5763 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)