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.001959/0.001959, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002382/0.002382, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2447/0.2447, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002278/0.002278, allocations: 78.14 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1331, allocations: 62.46 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01341/0.1465, allocations: 10.49 MB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.1552, allocations: 3.247 MB / 494 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.1574, allocations: 51.88 kB / 494 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.1628, allocations: 2.371 MB / 496.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.1669, allocations: 1.209 MB / 497.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1683, allocations: 0.5223 MB / 498.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.1734, allocations: 2.916 MB / 0.4893 GB, free: 212 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004345/0.1778, allocations: 3.025 MB / 0.4922 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.1803, allocations: 1.254 MB / 0.4935 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.183, allocations: 1.725 MB / 0.4951 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009015/0.1839, allocations: 296 kB / 0.4954 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.1862, allocations: 0.9987 MB / 0.4964 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.1882, allocations: 1.59 MB / 0.498 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.1909, allocations: 1.953 MB / 0.4999 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2264/0.4173, allocations: 6 MB / 0.5057 GB, free: 20.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4174, allocations: 1.156 kB / 0.5057 GB, free: 20.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4174, allocations: 0 / 0.5057 GB, free: 20.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002064/0.4176, allocations: 0 / 0.5057 GB, free: 20.46 MB / 382.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.01058/0.4282, allocations: 4.242 MB / 0.5099 GB, free: 18.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.4282, allocations: 12.42 kB / 0.5099 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001632/0.4299, allocations: 0.698 MB / 0.5106 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007444/0.4373, allocations: 1.808 MB / 0.5123 GB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.442, allocations: 1.742 MB / 0.514 GB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.4422, allocations: 232.7 kB / 0.5142 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/0.443, allocations: 296.5 kB / 0.5145 GB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4627, allocations: 10.66 MB / 0.5249 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.4628, allocations: 35.53 kB / 0.525 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.4633, allocations: 141.6 kB / 0.5251 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/0.4666, allocations: 2.045 MB / 0.5271 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.4839, allocations: 9.35 MB / 0.5362 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/0.5307, allocations: 38 MB / 0.5733 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.5428, allocations: 4.195 MB / 0.5774 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.5464, allocations: 2.306 MB / 0.5797 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5575, allocations: 6.106 MB / 0.5857 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/0.5576, allocations: 55.72 kB / 0.5857 GB, free: 7.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 8.937e-06/0.5576, allocations: 0 / 0.5857 GB, free: 7.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06673/0.6244, allocations: 22.02 MB / 0.6072 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.6245, allocations: 149.4 kB / 0.6074 GB, free: 0.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.6293, allocations: 3.37 MB / 0.6107 GB, free: 13.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.6298, allocations: 57.7 kB / 0.6107 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.632, allocations: 2.794 MB / 0.6134 GB, free: 10.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.6331, allocations: 0.798 MB / 0.6142 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.635, allocations: 1.194 MB / 0.6154 GB, free: 8.582 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6352, allocations: 309.1 kB / 0.6157 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.6392, allocations: 2.335 MB / 0.618 GB, free: 5.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007544/0.6467, allocations: 5.793 MB / 0.6236 GB, free: 14.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.6595, allocations: 8.82 MB / 0.6322 GB, free: 4.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.6596, allocations: 36 kB / 0.6323 GB, free: 4.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02836/0.688, allocations: 8.704 MB / 0.6408 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.6882, allocations: 61 kB / 0.6408 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/0.6884, allocations: 120 kB / 0.6409 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005509/0.6939, allocations: 1.045 MB / 0.642 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009387/0.7034, allocations: 1.376 MB / 0.6433 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.7149, allocations: 5.817 MB / 0.649 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007793/0.7228, allocations: 335.4 kB / 0.6493 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/0.7244, allocations: 360 kB / 0.6496 GB, free: 2.422 MB / 494.1 MB 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.005096/0.7295, allocations: 1.939 MB / 0.6515 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009034/0.7304, allocations: 308.1 kB / 0.6518 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008571/0.739, allocations: 3.964 MB / 0.6557 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/0.7391, allocations: 20 kB / 0.6557 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.7391, allocations: 4 kB / 0.6557 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.7391, allocations: 11.97 kB / 0.6557 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/0.7625, allocations: 8.902 MB / 0.6644 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.7626, allocations: 6.078 kB / 0.6644 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/0.7645, allocations: 355.5 kB / 0.6648 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/0.7672, allocations: 0.8656 MB / 0.6656 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/0.7675, allocations: 40 kB / 0.6657 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005984/0.7735, allocations: 5.097 MB / 0.6706 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7736, allocations: 4.219 kB / 0.6706 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.786, allocations: 6.889 MB / 0.6774 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008918/0.7869, allocations: 360.9 kB / 0.6777 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008156/0.7877, allocations: 40 kB / 0.6777 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.7897, allocations: 115.8 kB / 0.6779 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/0.7902, allocations: 116.5 kB / 0.678 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/0.7905, allocations: 63.92 kB / 0.678 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004179/0.7946, allocations: 2.073 MB / 0.6801 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7947, allocations: 0 / 0.6801 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005337/0.8, allocations: 0.9492 MB / 0.681 GB, free: 1.918 MB / 0.5137 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.01269/0.8127, allocations: 7.541 MB / 0.6883 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0151/0.8279, allocations: 7.875 MB / 0.696 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.8279, allocations: 0 / 0.696 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/0.8331, allocations: 2.48 MB / 0.6985 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.8365, allocations: 365.4 kB / 0.6988 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/1.12, allocations: 48.41 MB / 0.7461 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/1.122, allocations: 3.023 MB / 0.749 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004052/1.126, allocations: 1.858 MB / 0.7508 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/1.129, allocations: 1.711 MB / 0.7525 GB, free: 167.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.129, allocations: 0 / 0.7525 GB, free: 167.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.236, allocations: 67.78 MB / 0.8187 GB, free: 102.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.24, allocations: 8.75 kB / 0.8187 GB, free: 102.8 MB / 0.545 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)