Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 221.5 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 230.2 MB / 256.2 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2006/0.2006, allocations: 46.88 MB / 359.3 MB, free: 4.973 MB / 286.1 MB " [Timeout remaining time 180] 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.FreeMotion,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002125/0.002125, allocations: 75.88 kB / 0.494 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2636, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01224/0.2758, allocations: 11.79 MB / 0.5699 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00814/0.284, allocations: 3.98 MB / 0.5738 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.2853, allocations: 59.88 kB / 0.5739 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.2876, allocations: 1.206 MB / 0.575 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.2911, allocations: 1.763 MB / 0.5768 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2921, allocations: 499 kB / 0.5772 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.2969, allocations: 4.066 MB / 0.5812 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.2985, allocations: 1.473 MB / 0.5827 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.2998, allocations: 1.164 MB / 0.5838 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.3018, allocations: 1.845 MB / 0.5856 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.3022, allocations: 220 kB / 0.5858 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.304, allocations: 1.108 MB / 0.5869 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.3054, allocations: 1.624 MB / 0.5885 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.307, allocations: 1.832 MB / 0.5903 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006156/0.3132, allocations: 6.134 MB / 0.5962 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3132, allocations: 0 / 0.5962 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3132, allocations: 0 / 0.5962 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.1e-05/0.3133, allocations: 0 / 0.5962 GB, free: 14.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.006466/0.3197, allocations: 4.241 MB / 0.6004 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3198, allocations: 13.11 kB / 0.6004 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007959/0.3206, allocations: 0.6876 MB / 0.6011 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.3318, allocations: 3.227 MB / 0.6042 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/0.3364, allocations: 2.479 MB / 0.6066 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3365, allocations: 180.6 kB / 0.6068 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/0.3373, allocations: 335.5 kB / 0.6071 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.3513, allocations: 10.29 MB / 0.6172 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/0.3513, allocations: 27.77 kB / 0.6172 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.3517, allocations: 115.8 kB / 0.6173 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.3554, allocations: 2.443 MB / 0.6197 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.3724, allocations: 9.836 MB / 0.6293 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.4194, allocations: 34.46 MB / 0.663 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007512/0.4269, allocations: 4.151 MB / 0.667 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.4298, allocations: 2.036 MB / 0.669 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.431, allocations: 1.323 MB / 0.6703 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4311, allocations: 52.56 kB / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.819e-06/0.4311, allocations: 0 / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.03736/0.4684, allocations: 16.79 MB / 0.6867 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/0.4699, allocations: 1.618 MB / 0.6883 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.4734, allocations: 2.697 MB / 0.691 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.4737, allocations: 65.69 kB / 0.691 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.4755, allocations: 2.71 MB / 0.6937 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008935/0.4764, allocations: 0.9649 MB / 0.6946 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/0.4778, allocations: 1.096 MB / 0.6957 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4779, allocations: 305.1 kB / 0.696 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003287/0.4812, allocations: 2.392 MB / 0.6983 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/0.4867, allocations: 5.318 MB / 0.7035 GB, free: 12.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00949/0.4962, allocations: 8.375 MB / 0.7117 GB, free: 2.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.687e-05/0.4962, allocations: 32 kB / 0.7117 GB, free: 2.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01952/0.5158, allocations: 9.35 MB / 0.7208 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.5158, allocations: 48 kB / 0.7209 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01219/0.528, allocations: 4.557 MB / 0.7253 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.5382, allocations: 2.09 MB / 0.7274 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/0.5422, allocations: 1.248 MB / 0.7286 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2113/0.7536, allocations: 5.288 MB / 0.7338 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.7569, allocations: 390.6 kB / 0.7341 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.7572, allocations: 316 kB / 0.7344 GB, free: 149 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (664): * Single equations (assignments): 652 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.002125/0.7593, allocations: 2.027 MB / 0.7364 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.7596, allocations: 287.3 kB / 0.7367 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007862/0.7675, allocations: 5.314 MB / 0.7419 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006867/0.7744, allocations: 4.593 MB / 0.7464 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7744, allocations: 0 / 0.7464 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.7744, allocations: 14.25 kB / 0.7464 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.7919, allocations: 14.28 MB / 0.7603 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.7919, allocations: 8 kB / 0.7603 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.7933, allocations: 403.4 kB / 0.7607 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003832/0.7972, allocations: 1.248 MB / 0.7619 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.7973, allocations: 59.97 kB / 0.762 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.8007, allocations: 4.746 MB / 0.7666 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006161/0.8013, allocations: 1.552 MB / 0.7681 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009204/0.8105, allocations: 8.018 MB / 0.776 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.8109, allocations: 342 kB / 0.7763 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.8113, allocations: 55.52 kB / 0.7763 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.8126, allocations: 191.7 kB / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.8129, allocations: 163.7 kB / 0.7767 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.813, allocations: 77.97 kB / 0.7768 GB, free: 119 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001882/0.8149, allocations: 1.652 MB / 0.7784 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8149, allocations: 0 / 0.7784 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003187/0.8181, allocations: 1.012 MB / 0.7794 GB, free: 116.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.009383/0.8275, allocations: 8.552 MB / 0.7877 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00729/0.8348, allocations: 6.152 MB / 0.7937 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8348, allocations: 0 / 0.7937 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003449/0.8382, allocations: 2.713 MB / 0.7964 GB, free: 98.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.8399, allocations: 383.4 kB / 0.7967 GB, free: 98.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05108/0.891, allocations: 44.58 MB / 0.8403 GB, free: 49.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.8932, allocations: 3.175 MB / 0.8434 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003147/0.8964, allocations: 2.052 MB / 0.8454 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/0.8979, allocations: 1.698 MB / 0.847 GB, free: 42.33 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.8979, allocations: 0 / 0.847 GB, free: 42.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09361/0.9915, allocations: 61.33 MB / 0.9069 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.61, allocations: 5.547 kB / 0.9069 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.186236777008162]