Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.001424/0.001424, allocations: 105 kB / 19.74 MB, free: 2.453 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.001559/0.001559, allocations: 215.3 kB / 22.92 MB, free: 5.195 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.32/1.32, allocations: 230.2 MB / 256.2 MB, free: 8.578 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.2051/0.2051, allocations: 46.88 MB / 359.3 MB, free: 4.965 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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.002166/0.002166, allocations: 83.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2587, allocations: 65.97 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01348/0.2722, allocations: 12.74 MB / 0.5709 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007504/0.2797, allocations: 4.106 MB / 0.5749 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.2813, allocations: 67.81 kB / 0.5749 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.2847, allocations: 1.868 MB / 0.5767 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.2883, allocations: 1.806 MB / 0.5785 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2893, allocations: 0.495 MB / 0.579 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004505/0.2938, allocations: 3.76 MB / 0.5827 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.2965, allocations: 2.146 MB / 0.5848 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.298, allocations: 1.347 MB / 0.5861 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.3003, allocations: 2.048 MB / 0.5881 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004039/0.3007, allocations: 284 kB / 0.5883 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3024, allocations: 1.147 MB / 0.5895 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.3039, allocations: 1.772 MB / 0.5912 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.3057, allocations: 2.069 MB / 0.5932 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.3126, allocations: 6.921 MB / 0.6 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3126, allocations: 0 / 0.6 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3126, allocations: 0 / 0.6 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.222e-05/0.3126, allocations: 0 / 0.6 GB, free: 10.42 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: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.00923/0.3219, allocations: 4.92 MB / 0.6048 GB, free: 5.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3219, allocations: 16.02 kB / 0.6048 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008529/0.3228, allocations: 0.7536 MB / 0.6055 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.3329, allocations: 3.141 MB / 0.6086 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.3368, allocations: 2.283 MB / 0.6108 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.337, allocations: 217.7 kB / 0.611 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005419/0.3375, allocations: 283.7 kB / 0.6113 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.3523, allocations: 10.95 MB / 0.622 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-05/0.3524, allocations: 27.77 kB / 0.622 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.3527, allocations: 131.8 kB / 0.6222 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/0.3566, allocations: 2.511 MB / 0.6246 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.3731, allocations: 10.28 MB / 0.6346 GB, free: 6.297 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04381/0.4169, allocations: 34.95 MB / 0.6688 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007205/0.4241, allocations: 4.126 MB / 0.6728 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/0.4267, allocations: 1.967 MB / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.428, allocations: 1.319 MB / 0.676 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.428, allocations: 56.5 kB / 0.6761 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=235): time 3.917e-06/0.428, allocations: 0 / 0.6761 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=256): time 0.03667/0.4647, allocations: 13.71 MB / 0.6895 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4647, allocations: 77.34 kB / 0.6895 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.4682, allocations: 2.767 MB / 0.6922 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.4684, allocations: 53.7 kB / 0.6923 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.4703, allocations: 2.948 MB / 0.6952 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/0.4711, allocations: 0.9804 MB / 0.6961 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.4726, allocations: 1.132 MB / 0.6972 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4727, allocations: 309.1 kB / 0.6975 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.4758, allocations: 2.299 MB / 0.6998 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/0.4815, allocations: 5.387 MB / 0.705 GB, free: 11.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009453/0.491, allocations: 8.438 MB / 0.7133 GB, free: 1.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.663e-05/0.491, allocations: 32 kB / 0.7133 GB, free: 1.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01362/0.5047, allocations: 8.414 MB / 0.7215 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.5047, allocations: 52 kB / 0.7216 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.5048, allocations: 104 kB / 0.7217 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/0.5085, allocations: 1.041 MB / 0.7227 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/0.5121, allocations: 1.291 MB / 0.7239 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.515, allocations: 2.608 MB / 0.7265 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5177, allocations: 299.8 kB / 0.7268 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/0.5181, allocations: 331.9 kB / 0.7271 GB, free: 3.012 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (701): * Single equations (assignments): 692 * 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.002974/0.5211, allocations: 2.185 MB / 0.7292 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.5215, allocations: 294 kB / 0.7295 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2083/0.7299, allocations: 4.953 MB / 0.7343 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.7299, allocations: 46.92 kB / 0.7344 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7299, allocations: 3.969 kB / 0.7344 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.7299, allocations: 9.422 kB / 0.7344 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.7436, allocations: 11.21 MB / 0.7454 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.7436, allocations: 5.594 kB / 0.7454 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.7451, allocations: 403 kB / 0.7457 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/0.7481, allocations: 0.9166 MB / 0.7466 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.7482, allocations: 54.61 kB / 0.7467 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.75, allocations: 2.418 MB / 0.749 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.75, allocations: 11.94 kB / 0.7491 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008224/0.7582, allocations: 7.39 MB / 0.7563 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.7587, allocations: 337.8 kB / 0.7566 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.7589, allocations: 48 kB / 0.7566 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.76, allocations: 131.8 kB / 0.7568 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.7603, allocations: 160.9 kB / 0.7569 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.7604, allocations: 79.91 kB / 0.757 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001633/0.762, allocations: 1.689 MB / 0.7586 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.762, allocations: 0 / 0.7586 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002888/0.7649, allocations: 0.9462 MB / 0.7596 GB, free: 137.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.008406/0.7733, allocations: 8.051 MB / 0.7674 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006947/0.7803, allocations: 5.84 MB / 0.7731 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7803, allocations: 0 / 0.7731 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.7834, allocations: 2.402 MB / 0.7755 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.7855, allocations: 451.3 kB / 0.7759 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04002/0.8255, allocations: 42.96 MB / 0.8179 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/0.8279, allocations: 3.37 MB / 0.8212 GB, free: 69.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003043/0.8309, allocations: 2.041 MB / 0.8232 GB, free: 67.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.8326, allocations: 1.858 MB / 0.825 GB, free: 65.49 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.8326, allocations: 0 / 0.825 GB, free: 65.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08035/0.9129, allocations: 59.17 MB / 0.8828 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.03, allocations: 3.859 kB / 0.8828 GB, free: 6.586 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_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_FreeMotionScalarInit.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.646536899992498]