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.002353/0.002353, allocations: 110 kB / 20.42 MB, free: 1.535 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.002912/0.002912, allocations: 208.6 kB / 23.72 MB, free: 4.961 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.593/1.593, allocations: 230.2 MB / 257.1 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] 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.265/0.265, allocations: 46.89 MB / 360.3 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] 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.002321/0.002321, allocations: 79.86 kB / 0.4955 GB, free: 8.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3985, allocations: 65.99 MB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.017/0.4155, allocations: 13.53 MB / 0.5732 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.4279, allocations: 4.254 MB / 0.5773 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.4316, allocations: 71.88 kB / 0.5774 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006459/0.438, allocations: 1.997 MB / 0.5794 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007738/0.4458, allocations: 1.942 MB / 0.5813 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.4483, allocations: 0.5459 MB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007948/0.4563, allocations: 4.046 MB / 0.5857 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.4603, allocations: 2.19 MB / 0.5879 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.4635, allocations: 1.444 MB / 0.5893 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/0.4675, allocations: 2.204 MB / 0.5914 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.4687, allocations: 304 kB / 0.5917 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.4713, allocations: 1.045 MB / 0.5928 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.4737, allocations: 1.889 MB / 0.5946 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003603/0.4773, allocations: 2.248 MB / 0.5968 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.4878, allocations: 7.317 MB / 0.6039 GB, free: 7.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4878, allocations: 3.938 kB / 0.6039 GB, free: 7.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4878, allocations: 0 / 0.6039 GB, free: 7.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002472/0.488, allocations: 0 / 0.6039 GB, free: 7.543 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.01261/0.5006, allocations: 5.024 MB / 0.6089 GB, free: 2.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.5007, allocations: 8.031 kB / 0.6089 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001937/0.5026, allocations: 0.8157 MB / 0.6097 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.5144, allocations: 3.18 MB / 0.6128 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.5213, allocations: 2.404 MB / 0.6151 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.5216, allocations: 238.2 kB / 0.6153 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.523, allocations: 319.7 kB / 0.6156 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.5467, allocations: 12.08 MB / 0.6274 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.5469, allocations: 31.7 kB / 0.6275 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.5482, allocations: 147.8 kB / 0.6276 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00587/0.5541, allocations: 2.835 MB / 0.6304 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/0.5794, allocations: 11.36 MB / 0.6415 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07543/0.6548, allocations: 41.11 MB / 0.6816 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.6679, allocations: 5.82 MB / 0.6873 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.6725, allocations: 2.752 MB / 0.69 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.6748, allocations: 1.892 MB / 0.6918 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.6748, allocations: 52.56 kB / 0.6919 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.771e-06/0.6748, allocations: 3.938 kB / 0.6919 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.0574/0.7322, allocations: 20.19 MB / 0.7116 GB, free: 6.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.7323, allocations: 73.41 kB / 0.7117 GB, free: 6.734 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/0.7377, allocations: 3.036 MB / 0.7147 GB, free: 3.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007155/0.7384, allocations: 69.62 kB / 0.7147 GB, free: 3.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.7412, allocations: 3.1 MB / 0.7177 GB, free: 488 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002008/0.7432, allocations: 1.066 MB / 0.7188 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/0.7457, allocations: 1.203 MB / 0.72 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7459, allocations: 305.1 kB / 0.7203 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005067/0.751, allocations: 2.85 MB / 0.723 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00971/0.7607, allocations: 6.014 MB / 0.7289 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3212/1.082, allocations: 9.665 MB / 0.7383 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-05/1.082, allocations: 31.5 kB / 0.7384 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01657/1.099, allocations: 10.02 MB / 0.7482 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.099, allocations: 50.44 kB / 0.7482 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.099, allocations: 114.4 kB / 0.7483 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.102, allocations: 1.366 MB / 0.7497 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/1.107, allocations: 1.365 MB / 0.751 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/1.115, allocations: 7.808 MB / 0.7586 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/1.12, allocations: 368.3 kB / 0.759 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008588/1.12, allocations: 339.3 kB / 0.7593 GB, free: 137.3 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.003505/1.124, allocations: 2.298 MB / 0.7615 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/1.124, allocations: 320.4 kB / 0.7618 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/1.133, allocations: 6.607 MB / 0.7683 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.988e-05/1.134, allocations: 51.92 kB / 0.7683 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.134, allocations: 4 kB / 0.7683 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/1.134, allocations: 11.95 kB / 0.7684 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.155, allocations: 13.88 MB / 0.7819 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.155, allocations: 4 kB / 0.7819 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.158, allocations: 452.3 kB / 0.7823 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004439/1.162, allocations: 1.214 MB / 0.7835 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008234/1.163, allocations: 59.86 kB / 0.7836 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/1.173, allocations: 7.016 MB / 0.7904 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.173, allocations: 11.94 kB / 0.7905 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.19, allocations: 9.872 MB / 0.8001 GB, free: 96.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/1.191, allocations: 365.8 kB / 0.8004 GB, free: 95.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007007/1.192, allocations: 48 kB / 0.8005 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.194, allocations: 203.5 kB / 0.8007 GB, free: 95.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/1.194, allocations: 157.7 kB / 0.8008 GB, free: 95.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.194, allocations: 74.05 kB / 0.8009 GB, free: 95.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002611/1.197, allocations: 1.878 MB / 0.8027 GB, free: 93.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.197, allocations: 0 / 0.8027 GB, free: 93.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007465/1.204, allocations: 1.109 MB / 0.8038 GB, free: 92.54 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.01869/1.223, allocations: 10.52 MB / 0.8141 GB, free: 81.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.234, allocations: 6.678 MB / 0.8206 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/1.234, allocations: 0.875 kB / 0.8206 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/1.238, allocations: 2.659 MB / 0.8232 GB, free: 72.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.241, allocations: 419.2 kB / 0.8236 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06391/1.304, allocations: 49.11 MB / 0.8716 GB, free: 17.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/1.308, allocations: 3.571 MB / 0.8751 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004204/1.312, allocations: 2.203 MB / 0.8772 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/1.315, allocations: 2.065 MB / 0.8792 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.315, allocations: 4 kB / 0.8792 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/1.453, allocations: 71.06 MB / 0.9486 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.89/24.34, allocations: 0 / 0.9486 GB, free: 3.309 MB / 0.6231 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 27.5654450613074] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 24.468711765948683 24.49355638 24.000674368 Calling exit ...