Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.42 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.2365/0.2365, allocations: 46.13 MB / 344.4 MB, free: 11.42 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.002367/0.002367, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.36, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01631/0.3763, allocations: 13.8 MB / 0.5441 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.387, allocations: 4.387 MB / 0.5484 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.3906, allocations: 82.84 kB / 0.5484 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005474/0.3961, allocations: 2.37 MB / 0.5508 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.4016, allocations: 1.814 MB / 0.5525 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.4044, allocations: 0.8847 MB / 0.5534 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006684/0.4111, allocations: 3.992 MB / 0.5573 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005036/0.4162, allocations: 3.432 MB / 0.5606 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.4191, allocations: 1.476 MB / 0.5621 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.4225, allocations: 2.029 MB / 0.5641 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.4237, allocations: 324 kB / 0.5644 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.4265, allocations: 1.135 MB / 0.5655 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.4289, allocations: 1.893 MB / 0.5673 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.4321, allocations: 2.236 MB / 0.5695 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009796/0.4419, allocations: 7.458 MB / 0.5768 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.442, allocations: 0 / 0.5768 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.442, allocations: 4 kB / 0.5768 GB, free: 2.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002364/0.4422, allocations: 0 / 0.5768 GB, free: 2.176 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: 1710 * Number of variables: 1710 Notification: Performance of Generate backend data structure: time 0.01315/0.4554, allocations: 5.243 MB / 0.5819 GB, free: 12.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4555, allocations: 16.02 kB / 0.5819 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001638/0.4571, allocations: 0.8027 MB / 0.5827 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.4685, allocations: 3.184 MB / 0.5858 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/0.4737, allocations: 2.435 MB / 0.5882 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.4739, allocations: 246.4 kB / 0.5884 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.475, allocations: 323.7 kB / 0.5888 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.4951, allocations: 11.4 MB / 0.5999 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4953, allocations: 31.75 kB / 0.5999 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006615/0.4959, allocations: 143.8 kB / 0.6001 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004515/0.5005, allocations: 2.523 MB / 0.6025 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.522, allocations: 10.58 MB / 0.6128 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05638/0.5784, allocations: 36.06 MB / 0.6481 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008512/0.5869, allocations: 4.286 MB / 0.6522 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/0.5903, allocations: 2.118 MB / 0.6543 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.5917, allocations: 1.323 MB / 0.6556 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.5917, allocations: 52.56 kB / 0.6557 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=235): time 8.286e-06/0.5917, allocations: 3.984 kB / 0.6557 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=256): time 0.0433/0.6351, allocations: 13.77 MB / 0.6691 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.6352, allocations: 77.34 kB / 0.6692 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.6394, allocations: 2.908 MB / 0.672 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004639/0.6399, allocations: 61.69 kB / 0.6721 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.6424, allocations: 3.115 MB / 0.6751 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.6438, allocations: 0.9959 MB / 0.6761 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.6456, allocations: 1.164 MB / 0.6772 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6457, allocations: 313.1 kB / 0.6775 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/0.6495, allocations: 2.334 MB / 0.6798 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006989/0.6565, allocations: 5.551 MB / 0.6852 GB, free: 15.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.6684, allocations: 8.662 MB / 0.6937 GB, free: 5.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.6686, allocations: 32 kB / 0.6937 GB, free: 5.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01946/0.688, allocations: 8.598 MB / 0.7021 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.6882, allocations: 52 kB / 0.7022 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/0.6883, allocations: 112 kB / 0.7023 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/0.6925, allocations: 1.044 MB / 0.7033 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.6972, allocations: 1.337 MB / 0.7046 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.7006, allocations: 2.605 MB / 0.7071 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/0.7045, allocations: 311.8 kB / 0.7074 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.7056, allocations: 348 kB / 0.7078 GB, free: 6.699 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 713 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00439/0.7101, allocations: 2.275 MB / 0.71 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/0.7107, allocations: 305.9 kB / 0.7103 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.721, allocations: 4.976 MB / 0.7151 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.088e-05/0.7211, allocations: 44 kB / 0.7152 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.7211, allocations: 0 / 0.7152 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/0.7212, allocations: 11.95 kB / 0.7152 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/0.7445, allocations: 11.42 MB / 0.7263 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.7445, allocations: 4 kB / 0.7263 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.7466, allocations: 407.4 kB / 0.7267 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.7503, allocations: 0.9192 MB / 0.7276 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000472/0.7508, allocations: 55.98 kB / 0.7277 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2503/1.001, allocations: 2.409 MB / 0.73 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-05/1.001, allocations: 13.44 kB / 0.7301 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.014, allocations: 7.406 MB / 0.7373 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007592/1.014, allocations: 346.3 kB / 0.7376 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000656/1.015, allocations: 48.02 kB / 0.7377 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.017, allocations: 132.6 kB / 0.7378 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/1.017, allocations: 156.7 kB / 0.7379 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.017, allocations: 79.16 kB / 0.738 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002683/1.02, allocations: 1.778 MB / 0.7397 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/1.02, allocations: 0 / 0.7397 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004757/1.025, allocations: 0.9861 MB / 0.7407 GB, free: 171.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/1.036, allocations: 8.077 MB / 0.7486 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009195/1.045, allocations: 6.168 MB / 0.7546 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.045, allocations: 0.9844 kB / 0.7546 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003994/1.049, allocations: 2.562 MB / 0.7571 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.052, allocations: 0.5295 MB / 0.7576 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05572/1.108, allocations: 44.33 MB / 0.8009 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/1.111, allocations: 3.533 MB / 0.8044 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003766/1.115, allocations: 2.101 MB / 0.8064 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.118, allocations: 1.972 MB / 0.8084 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/1.118, allocations: 0 / 0.8084 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/1.216, allocations: 61.75 MB / 0.8687 GB, free: 46.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.73, allocations: 15.47 kB / 0.8687 GB, free: 46.32 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)