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.001545/0.001545, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001748/0.001748, allocations: 213.7 kB / 24.54 MB, free: 3.875 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2408/0.2408, allocations: 46.93 MB / 361.6 MB, free: 4.258 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.002705/0.002705, allocations: 83.81 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4021, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01656/0.4186, allocations: 13.53 MB / 0.5747 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009941/0.4286, allocations: 4.262 MB / 0.5789 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.4311, allocations: 83.69 kB / 0.579 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00497/0.4361, allocations: 1.993 MB / 0.5809 GB, free: 332 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005865/0.4419, allocations: 1.954 MB / 0.5828 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.4439, allocations: 0.5576 MB / 0.5834 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007368/0.4513, allocations: 4.038 MB / 0.5873 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.4558, allocations: 2.427 MB / 0.5897 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.4589, allocations: 1.472 MB / 0.5911 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004292/0.4632, allocations: 2.208 MB / 0.5933 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.4647, allocations: 307.9 kB / 0.5936 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.4678, allocations: 1.041 MB / 0.5946 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003073/0.4709, allocations: 1.889 MB / 0.5964 GB, free: 356 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005182/0.4761, allocations: 2.244 MB / 0.5986 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4876, allocations: 7.325 MB / 0.6058 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.4876, allocations: 3.984 kB / 0.6058 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4876, allocations: 0 / 0.6058 GB, free: 6.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.4879, allocations: 0 / 0.6058 GB, free: 6.73 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.01425/0.5021, allocations: 4.941 MB / 0.6106 GB, free: 1.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.5022, allocations: 8.031 kB / 0.6106 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002603/0.5048, allocations: 0.8196 MB / 0.6114 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.5164, allocations: 3.172 MB / 0.6145 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.5223, allocations: 2.343 MB / 0.6168 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/0.5225, allocations: 242.2 kB / 0.617 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.5239, allocations: 311.7 kB / 0.6173 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/0.5479, allocations: 12.08 MB / 0.6291 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.548, allocations: 35.69 kB / 0.6292 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009913/0.549, allocations: 147.8 kB / 0.6293 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005276/0.5543, allocations: 2.847 MB / 0.6321 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.5801, allocations: 11.35 MB / 0.6432 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07231/0.6524, allocations: 40.97 MB / 0.6832 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.6651, allocations: 4.921 MB / 0.688 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/0.67, allocations: 2.763 MB / 0.6907 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.6714, allocations: 0.5595 MB / 0.6912 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.6715, allocations: 56.56 kB / 0.6913 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.961e-06/0.6715, allocations: 0 / 0.6913 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05675/0.7282, allocations: 19.97 MB / 0.7108 GB, free: 9.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.7283, allocations: 81.39 kB / 0.7109 GB, free: 9.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005882/0.7342, allocations: 3.032 MB / 0.7138 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007961/0.735, allocations: 65.7 kB / 0.7139 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/0.738, allocations: 3.108 MB / 0.7169 GB, free: 3.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/0.7398, allocations: 1.069 MB / 0.718 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/0.7427, allocations: 1.199 MB / 0.7191 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7429, allocations: 305.1 kB / 0.7194 GB, free: 444 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/0.7483, allocations: 2.842 MB / 0.7222 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009312/0.7576, allocations: 6.022 MB / 0.7281 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3253/1.083, allocations: 9.661 MB / 0.7375 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.083, allocations: 31.25 kB / 0.7375 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01935/1.102, allocations: 10.03 MB / 0.7473 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/1.102, allocations: 54.94 kB / 0.7474 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.103, allocations: 110.9 kB / 0.7475 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/1.106, allocations: 1.365 MB / 0.7488 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/1.111, allocations: 1.371 MB / 0.7502 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/1.12, allocations: 7.691 MB / 0.7577 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.125, allocations: 362.1 kB / 0.758 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.127, allocations: 343.3 kB / 0.7584 GB, free: 139.6 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.00509/1.132, allocations: 2.302 MB / 0.7606 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/1.133, allocations: 322 kB / 0.7609 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.144, allocations: 6.613 MB / 0.7674 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.083e-05/1.144, allocations: 55.92 kB / 0.7674 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.144, allocations: 4 kB / 0.7674 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.179e-05/1.144, allocations: 11.95 kB / 0.7674 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.168, allocations: 13.84 MB / 0.7809 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/1.168, allocations: 9.062 kB / 0.781 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.17, allocations: 455.3 kB / 0.7814 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/1.173, allocations: 1.215 MB / 0.7826 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006039/1.174, allocations: 55.92 kB / 0.7826 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007319/1.181, allocations: 6.913 MB / 0.7894 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.181, allocations: 11.94 kB / 0.7894 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.195, allocations: 9.87 MB / 0.799 GB, free: 98.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/1.196, allocations: 289.8 kB / 0.7993 GB, free: 98.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.196, allocations: 48 kB / 0.7994 GB, free: 98.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.198, allocations: 199.6 kB / 0.7995 GB, free: 98.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/1.199, allocations: 169.5 kB / 0.7997 GB, free: 98.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002815/1.199, allocations: 82.64 kB / 0.7998 GB, free: 98.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003418/1.203, allocations: 1.871 MB / 0.8016 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.203, allocations: 0 / 0.8016 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005281/1.208, allocations: 1.105 MB / 0.8027 GB, free: 95.04 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.01475/1.223, allocations: 10.53 MB / 0.813 GB, free: 84.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.234, allocations: 6.676 MB / 0.8195 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.234, allocations: 1.938 kB / 0.8195 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/1.239, allocations: 2.652 MB / 0.8221 GB, free: 75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.243, allocations: 437.9 kB / 0.8225 GB, free: 74.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/1.328, allocations: 49.09 MB / 0.8704 GB, free: 20.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006647/1.334, allocations: 3.571 MB / 0.8739 GB, free: 16.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005504/1.34, allocations: 2.203 MB / 0.8761 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003914/1.344, allocations: 2.069 MB / 0.8781 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.305e-06/1.344, allocations: 0 / 0.8781 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.493, allocations: 75.58 MB / 0.9519 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.26/25.75, allocations: 8.062 kB / 0.9519 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 634] (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: 28.88162407791242] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 25.90125871496275 25.926692288 25.433504373 Calling exit ...