Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.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.001425/0.001425, 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.001614/0.001614, allocations: 215.9 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.321/1.321, allocations: 230.2 MB / 256.2 MB, free: 8.582 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.2046/0.2046, allocations: 46.88 MB / 359.3 MB, free: 4.949 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",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.002122/0.002122, allocations: 87.86 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2502, allocations: 65.98 MB / 0.5584 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01292/0.2631, allocations: 12.02 MB / 0.5702 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007653/0.2707, allocations: 4.43 MB / 0.5745 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2719, allocations: 75.75 kB / 0.5746 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.2767, allocations: 2.795 MB / 0.5773 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.2807, allocations: 2.066 MB / 0.5793 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.2825, allocations: 1.002 MB / 0.5803 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006487/0.289, allocations: 5.365 MB / 0.5855 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.2919, allocations: 2.632 MB / 0.5881 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.2938, allocations: 1.748 MB / 0.5898 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.2969, allocations: 2.644 MB / 0.5924 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.2974, allocations: 368 kB / 0.5927 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.2996, allocations: 1.447 MB / 0.5941 GB, free: 448 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.3016, allocations: 2.251 MB / 0.5963 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.3039, allocations: 2.548 MB / 0.5988 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007806/0.3117, allocations: 8.222 MB / 0.6069 GB, free: 3.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3117, allocations: 0 / 0.6069 GB, free: 3.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3117, allocations: 0 / 0.6069 GB, free: 3.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.3118, allocations: 0 / 0.6069 GB, free: 3.363 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01173/0.3235, allocations: 6.026 MB / 0.6127 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3236, allocations: 8.031 kB / 0.6128 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009402/0.3245, allocations: 0.7946 MB / 0.6135 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08317/0.4077, allocations: 7.242 MB / 0.6206 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007222/0.4149, allocations: 3.617 MB / 0.6241 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4151, allocations: 254.8 kB / 0.6244 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007654/0.4159, allocations: 355.7 kB / 0.6247 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.4362, allocations: 12.28 MB / 0.6367 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.4364, allocations: 55.56 kB / 0.6368 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/0.4368, allocations: 159.8 kB / 0.6369 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003863/0.4407, allocations: 2.385 MB / 0.6392 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.4606, allocations: 10.7 MB / 0.6497 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05655/0.5172, allocations: 48.64 MB / 0.6972 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.5324, allocations: 5.641 MB / 0.7027 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/0.5361, allocations: 2.822 MB / 0.7055 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.554, allocations: 13.01 MB / 0.7182 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.5541, allocations: 59.81 kB / 0.7182 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.067e-06/0.5541, allocations: 0 / 0.7182 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.2903/0.8443, allocations: 38.91 MB / 0.7562 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.8444, allocations: 206.5 kB / 0.7564 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.8484, allocations: 4.388 MB / 0.7607 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.8486, allocations: 61.7 kB / 0.7608 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.8497, allocations: 3.575 MB / 0.7643 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005428/0.8503, allocations: 0.9861 MB / 0.7652 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.8516, allocations: 1.381 MB / 0.7666 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.8516, allocations: 305.1 kB / 0.7669 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/0.8546, allocations: 3.121 MB / 0.7699 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/0.8586, allocations: 7.039 MB / 0.7768 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007591/0.8662, allocations: 10.97 MB / 0.7875 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.252e-05/0.8662, allocations: 40.69 kB / 0.7875 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01744/0.8836, allocations: 12.65 MB / 0.7999 GB, free: 99.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/0.8837, allocations: 64.19 kB / 0.7999 GB, free: 99.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/0.8838, allocations: 140 kB / 0.8001 GB, free: 99.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/0.8913, allocations: 3.24 MB / 0.8032 GB, free: 96.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.8956, allocations: 1.532 MB / 0.8047 GB, free: 94.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.9126, allocations: 16.61 MB / 0.821 GB, free: 77.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/0.9172, allocations: 435.4 kB / 0.8214 GB, free: 77.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/0.9176, allocations: 404 kB / 0.8218 GB, free: 77.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00246/0.9201, allocations: 2.351 MB / 0.8241 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.9206, allocations: 425.2 kB / 0.8245 GB, free: 74.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.9324, allocations: 7.487 MB / 0.8318 GB, free: 66.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.9324, allocations: 31.98 kB / 0.8318 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.9324, allocations: 12 kB / 0.8318 GB, free: 66.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.9324, allocations: 10.5 kB / 0.8318 GB, free: 66.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/0.952, allocations: 15.01 MB / 0.8465 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.952, allocations: 0 / 0.8465 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.9537, allocations: 375.5 kB / 0.8468 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007114/0.9608, allocations: 2.927 MB / 0.8497 GB, free: 48.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/0.9611, allocations: 44 kB / 0.8497 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.9765, allocations: 14.82 MB / 0.8642 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9765, allocations: 0 / 0.8642 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.9916, allocations: 11.48 MB / 0.8754 GB, free: 21.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/0.9925, allocations: 466.2 kB / 0.8759 GB, free: 21.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005415/0.9931, allocations: 43.94 kB / 0.8759 GB, free: 21.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/0.9949, allocations: 191.7 kB / 0.8761 GB, free: 21.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/0.9954, allocations: 145.8 kB / 0.8762 GB, free: 20.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.9956, allocations: 67.98 kB / 0.8763 GB, free: 20.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003055/0.9986, allocations: 2.742 MB / 0.879 GB, free: 18.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9986, allocations: 0 / 0.879 GB, free: 18.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004573/1.003, allocations: 1.297 MB / 0.8803 GB, free: 16.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01509/1.018, allocations: 12.13 MB / 0.8921 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.029, allocations: 7.525 MB / 0.8994 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.029, allocations: 0 / 0.8994 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/1.033, allocations: 2.894 MB / 0.9023 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.036, allocations: 0.5143 MB / 0.9028 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0931/1.129, allocations: 60.76 MB / 0.9621 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/1.133, allocations: 3.654 MB / 0.9657 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004449/1.138, allocations: 2.172 MB / 0.9678 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/1.141, allocations: 2.221 MB / 0.97 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/1.141, allocations: 0 / 0.97 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/1.463, allocations: 95.76 MB / 1.063 GB, free: 165.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.92/27.38, allocations: 11.42 kB / 1.064 GB, free: 165.9 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.015493467988563]