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.001395/0.001395, allocations: 105 kB / 19.74 MB, free: 2.566 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.001591/0.001591, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.312/1.312, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.202/0.202, allocations: 46.89 MB / 359.3 MB, free: 5 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.002193/0.002193, allocations: 83.86 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2626, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01264/0.2753, allocations: 11.79 MB / 0.5699 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007391/0.2826, allocations: 3.972 MB / 0.5738 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2839, allocations: 59.88 kB / 0.5739 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.2864, allocations: 1.206 MB / 0.575 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.2901, allocations: 1.763 MB / 0.5768 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2913, allocations: 0.4912 MB / 0.5772 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005069/0.2963, allocations: 4.059 MB / 0.5812 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.2984, allocations: 1.477 MB / 0.5827 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.3002, allocations: 1.168 MB / 0.5838 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.3027, allocations: 1.838 MB / 0.5856 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.3033, allocations: 220 kB / 0.5858 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.3054, allocations: 1.111 MB / 0.5869 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.3071, allocations: 1.624 MB / 0.5885 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.3089, allocations: 1.84 MB / 0.5903 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.3151, allocations: 6.13 MB / 0.5963 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3151, allocations: 0 / 0.5963 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3151, allocations: 0 / 0.5963 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.526e-05/0.3152, allocations: 0 / 0.5963 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.006364/0.3215, allocations: 4.233 MB / 0.6004 GB, free: 9.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3216, allocations: 12.03 kB / 0.6004 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007535/0.3223, allocations: 0.6915 MB / 0.6011 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.3333, allocations: 3.227 MB / 0.6042 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.3375, allocations: 2.479 MB / 0.6066 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3376, allocations: 184.6 kB / 0.6068 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/0.3384, allocations: 331.5 kB / 0.6071 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.3526, allocations: 10.3 MB / 0.6172 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/0.3527, allocations: 27.77 kB / 0.6172 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.353, allocations: 111.8 kB / 0.6173 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003744/0.3568, allocations: 2.44 MB / 0.6197 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.3731, allocations: 9.847 MB / 0.6293 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/0.4174, allocations: 34.45 MB / 0.663 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007436/0.4249, allocations: 4.155 MB / 0.667 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.4277, allocations: 2.032 MB / 0.669 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.429, allocations: 1.315 MB / 0.6703 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.429, allocations: 52.56 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.018e-06/0.429, allocations: 0 / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.03734/0.4663, allocations: 16.79 MB / 0.6867 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001391/0.4677, allocations: 1.622 MB / 0.6883 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/0.4713, allocations: 2.689 MB / 0.691 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.4715, allocations: 61.69 kB / 0.691 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.4734, allocations: 2.714 MB / 0.6937 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008845/0.4743, allocations: 0.9649 MB / 0.6946 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.4758, allocations: 1.096 MB / 0.6957 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4759, allocations: 309.1 kB / 0.696 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/0.4792, allocations: 2.4 MB / 0.6983 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/0.4847, allocations: 5.307 MB / 0.7035 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/0.4947, allocations: 8.383 MB / 0.7117 GB, free: 2.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/0.4947, allocations: 32 kB / 0.7117 GB, free: 2.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01993/0.5146, allocations: 9.35 MB / 0.7208 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.5147, allocations: 51.83 kB / 0.7209 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01247/0.5272, allocations: 4.557 MB / 0.7253 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.5377, allocations: 2.094 MB / 0.7274 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/0.5418, allocations: 1.24 MB / 0.7286 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.211/0.7528, allocations: 5.298 MB / 0.7338 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.7562, allocations: 391.2 kB / 0.7341 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/0.7566, allocations: 315 kB / 0.7344 GB, free: 149.1 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.002145/0.7587, allocations: 2.024 MB / 0.7364 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.759, allocations: 292.5 kB / 0.7367 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/0.7671, allocations: 5.308 MB / 0.7419 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006977/0.7741, allocations: 4.586 MB / 0.7464 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7741, allocations: 5.594 kB / 0.7464 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.7741, allocations: 9.891 kB / 0.7464 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.7914, allocations: 14.27 MB / 0.7603 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7914, allocations: 12 kB / 0.7603 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.7928, allocations: 407.2 kB / 0.7607 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003918/0.7968, allocations: 1.244 MB / 0.7619 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.7969, allocations: 67.47 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.8003, allocations: 4.744 MB / 0.7666 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000609/0.8009, allocations: 1.548 MB / 0.7681 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009436/0.8104, allocations: 8.006 MB / 0.776 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.8109, allocations: 344.2 kB / 0.7763 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.8112, allocations: 63.3 kB / 0.7763 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.8125, allocations: 195.7 kB / 0.7765 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.8128, allocations: 158.9 kB / 0.7767 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.8129, allocations: 81.97 kB / 0.7768 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001577/0.8145, allocations: 1.652 MB / 0.7784 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8145, allocations: 0 / 0.7784 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003113/0.8176, allocations: 1.009 MB / 0.7794 GB, free: 116.5 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.009406/0.827, allocations: 8.549 MB / 0.7877 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007386/0.8344, allocations: 6.151 MB / 0.7937 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.8344, allocations: 4.875 kB / 0.7937 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/0.8379, allocations: 2.71 MB / 0.7964 GB, free: 98.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.8397, allocations: 401.4 kB / 0.7967 GB, free: 98.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05165/0.8914, allocations: 44.56 MB / 0.8403 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.8936, allocations: 3.183 MB / 0.8434 GB, free: 46.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003161/0.8968, allocations: 2.056 MB / 0.8454 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.8984, allocations: 1.694 MB / 0.847 GB, free: 42.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.452e-06/0.8984, allocations: 0 / 0.847 GB, free: 42.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09199/0.9903, allocations: 61.32 MB / 0.9069 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.64/18.63, allocations: 10.94 kB / 0.9069 GB, free: 13.37 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.235980874989764]