Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.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.001419/0.001419, allocations: 105.8 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.00154/0.00154, allocations: 220.5 kB / 22.92 MB, free: 5.531 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.296/1.296, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.9 MB / 359.3 MB, free: 4.988 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.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",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.002233/0.002233, allocations: 83.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2578, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01504/0.2729, allocations: 13.53 MB / 0.5716 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.2806, allocations: 4.242 MB / 0.5758 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.282, allocations: 71.81 kB / 0.5759 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.2858, allocations: 2.008 MB / 0.5778 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.2899, allocations: 1.93 MB / 0.5797 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.2911, allocations: 0.5536 MB / 0.5802 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005205/0.2963, allocations: 4.038 MB / 0.5842 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.2996, allocations: 2.194 MB / 0.5863 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3019, allocations: 1.444 MB / 0.5877 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.3053, allocations: 2.204 MB / 0.5899 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009334/0.3062, allocations: 304 kB / 0.5902 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3085, allocations: 1.041 MB / 0.5912 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.3107, allocations: 1.897 MB / 0.593 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.314, allocations: 2.244 MB / 0.5952 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008869/0.3229, allocations: 7.313 MB / 0.6024 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3229, allocations: 0 / 0.6024 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3229, allocations: 0 / 0.6024 GB, free: 7.977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002009/0.3231, allocations: 0 / 0.6024 GB, free: 7.977 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009677/0.3328, allocations: 5.02 MB / 0.6073 GB, free: 2.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3328, allocations: 12.02 kB / 0.6073 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.3338, allocations: 0.8157 MB / 0.6081 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.3443, allocations: 3.191 MB / 0.6112 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.3486, allocations: 2.404 MB / 0.6136 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.3488, allocations: 234.2 kB / 0.6138 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006724/0.3495, allocations: 315.7 kB / 0.6141 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.367, allocations: 12.08 MB / 0.6259 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/0.3671, allocations: 31.77 kB / 0.6259 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/0.3675, allocations: 147.8 kB / 0.626 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004691/0.3722, allocations: 2.835 MB / 0.6288 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.3921, allocations: 11.36 MB / 0.6399 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05599/0.4481, allocations: 41.11 MB / 0.6801 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.4594, allocations: 5.82 MB / 0.6857 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.4633, allocations: 2.755 MB / 0.6884 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.4651, allocations: 1.891 MB / 0.6903 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.4652, allocations: 56.5 kB / 0.6903 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.44e-06/0.4652, allocations: 0 / 0.6903 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.0475/0.5127, allocations: 20.19 MB / 0.7101 GB, free: 7.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.5128, allocations: 77.34 kB / 0.7101 GB, free: 7.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/0.5171, allocations: 3.032 MB / 0.7131 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.5174, allocations: 65.69 kB / 0.7132 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/0.5196, allocations: 3.108 MB / 0.7162 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.5208, allocations: 1.069 MB / 0.7172 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/0.5226, allocations: 1.203 MB / 0.7184 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5228, allocations: 305.1 kB / 0.7187 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/0.527, allocations: 2.846 MB / 0.7215 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/0.5336, allocations: 6.018 MB / 0.7274 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2112/0.7448, allocations: 9.661 MB / 0.7368 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-05/0.7449, allocations: 31.5 kB / 0.7368 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01295/0.7579, allocations: 10.02 MB / 0.7466 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.7579, allocations: 55.09 kB / 0.7467 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.673e-05/0.758, allocations: 108.7 kB / 0.7468 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/0.7609, allocations: 1.358 MB / 0.7481 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.7645, allocations: 1.367 MB / 0.7494 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/0.7719, allocations: 7.808 MB / 0.7571 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/0.7756, allocations: 367.1 kB / 0.7574 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/0.7762, allocations: 342.3 kB / 0.7577 GB, free: 136.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002822/0.779, allocations: 2.296 MB / 0.76 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/0.7796, allocations: 322 kB / 0.7603 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/0.7884, allocations: 6.605 MB / 0.7667 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.3e-05/0.7885, allocations: 55.77 kB / 0.7668 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7885, allocations: 4 kB / 0.7668 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.7885, allocations: 19.61 kB / 0.7668 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.8035, allocations: 13.87 MB / 0.7803 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.8035, allocations: 8 kB / 0.7804 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.8051, allocations: 451.3 kB / 0.7808 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.8078, allocations: 1.219 MB / 0.782 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.808, allocations: 51.94 kB / 0.782 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006284/0.8143, allocations: 7.019 MB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8143, allocations: 11.94 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.8247, allocations: 9.864 MB / 0.7985 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.8252, allocations: 371 kB / 0.7989 GB, free: 95.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.8256, allocations: 47.98 kB / 0.7989 GB, free: 95.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.827, allocations: 199.6 kB / 0.7991 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.8274, allocations: 161.6 kB / 0.7993 GB, free: 95.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.8275, allocations: 76 kB / 0.7993 GB, free: 95.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001876/0.8294, allocations: 1.874 MB / 0.8012 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8294, allocations: 0 / 0.8012 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003443/0.8329, allocations: 1.105 MB / 0.8022 GB, free: 92.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/0.8434, allocations: 10.54 MB / 0.8125 GB, free: 81.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007157/0.8506, allocations: 6.679 MB / 0.8191 GB, free: 74.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8506, allocations: 384 / 0.8191 GB, free: 74.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.8533, allocations: 2.649 MB / 0.8216 GB, free: 72.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.8551, allocations: 428 kB / 0.8221 GB, free: 71.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04635/0.9015, allocations: 49.09 MB / 0.87 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/0.9041, allocations: 3.574 MB / 0.8735 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003423/0.9075, allocations: 2.2 MB / 0.8756 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/0.9095, allocations: 2.069 MB / 0.8777 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.9095, allocations: 0 / 0.8777 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.028, allocations: 71.05 MB / 0.947 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/20.89, allocations: 0 / 0.947 GB, free: 2.945 MB / 0.6231 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_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_Universal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.44121910899412]