Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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.001411/0.001411, 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.001576/0.001576, allocations: 218 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.287/1.287, allocations: 230.2 MB / 256.2 MB, free: 8.586 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.2001/0.2001, 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.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",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.002094/0.002094, allocations: 75.88 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2542, allocations: 65.98 MB / 0.5584 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01299/0.2672, allocations: 12.35 MB / 0.5705 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.2742, allocations: 3.987 MB / 0.5744 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.2751, allocations: 63.88 kB / 0.5744 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.2774, allocations: 1.335 MB / 0.5757 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.2806, allocations: 1.766 MB / 0.5775 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2816, allocations: 495 kB / 0.5779 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004127/0.2858, allocations: 3.614 MB / 0.5815 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.2875, allocations: 1.613 MB / 0.583 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.2889, allocations: 1.195 MB / 0.5842 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.2911, allocations: 1.888 MB / 0.586 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.2915, allocations: 239.9 kB / 0.5863 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.2932, allocations: 0.9672 MB / 0.5872 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.2946, allocations: 1.608 MB / 0.5888 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.2964, allocations: 1.878 MB / 0.5906 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.3025, allocations: 6.216 MB / 0.5967 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3025, allocations: 0 / 0.5967 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3025, allocations: 0 / 0.5967 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.63e-05/0.3026, allocations: 4 kB / 0.5967 GB, free: 13.79 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006526/0.3091, allocations: 4.249 MB / 0.6008 GB, free: 9.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3091, allocations: 13.11 kB / 0.6009 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007684/0.3099, allocations: 0.7044 MB / 0.6015 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.3201, allocations: 3.114 MB / 0.6046 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.3235, allocations: 2.104 MB / 0.6066 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3237, allocations: 185 kB / 0.6068 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.3241, allocations: 251.7 kB / 0.6071 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.3378, allocations: 10.48 MB / 0.6173 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.096e-05/0.3379, allocations: 23.81 kB / 0.6173 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.3382, allocations: 119.8 kB / 0.6174 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00414/0.3424, allocations: 2.542 MB / 0.6199 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.3578, allocations: 9.931 MB / 0.6296 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04192/0.3997, allocations: 34.34 MB / 0.6631 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008838/0.4086, allocations: 4.966 MB / 0.668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.4113, allocations: 2.122 MB / 0.6701 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.4131, allocations: 1.88 MB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.4131, allocations: 52.56 kB / 0.672 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 3.696e-06/0.4131, allocations: 0 / 0.672 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.02983/0.4429, allocations: 14.05 MB / 0.6857 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.443, allocations: 77.41 kB / 0.6857 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.4462, allocations: 2.64 MB / 0.6883 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.4463, allocations: 49.7 kB / 0.6884 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.4481, allocations: 2.745 MB / 0.6911 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/0.4489, allocations: 0.8874 MB / 0.6919 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.4502, allocations: 1.041 MB / 0.6929 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4503, allocations: 305.1 kB / 0.6932 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.4533, allocations: 2.2 MB / 0.6954 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005121/0.4584, allocations: 5.063 MB / 0.7003 GB, free: 140 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009117/0.4675, allocations: 7.957 MB / 0.7081 GB, free: 6.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/0.4676, allocations: 32 kB / 0.7081 GB, free: 6.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01213/0.4797, allocations: 7.873 MB / 0.7158 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.4798, allocations: 50.5 kB / 0.7159 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.06e-05/0.4799, allocations: 96 kB / 0.716 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.482, allocations: 0.7968 MB / 0.7167 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.4853, allocations: 1.185 MB / 0.7179 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.4909, allocations: 4.508 MB / 0.7223 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4934, allocations: 287.8 kB / 0.7226 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/0.4937, allocations: 304 kB / 0.7229 GB, free: 7.508 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (631): * Single equations (assignments): 624 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002682/0.4964, allocations: 2.02 MB / 0.7248 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.4968, allocations: 274.1 kB / 0.7251 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/0.5046, allocations: 4.717 MB / 0.7297 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.5047, allocations: 39.98 kB / 0.7297 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.5047, allocations: 7.938 kB / 0.7297 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5047, allocations: 11.97 kB / 0.7298 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2153/0.7201, allocations: 10.49 MB / 0.74 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.7201, allocations: 3.938 kB / 0.74 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.7214, allocations: 367.9 kB / 0.7404 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.723, allocations: 0.651 MB / 0.741 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.7231, allocations: 43.16 kB / 0.741 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/0.7266, allocations: 3.907 MB / 0.7448 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7266, allocations: 10.09 kB / 0.7449 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/0.7337, allocations: 7.145 MB / 0.7518 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.734, allocations: 332.8 kB / 0.7522 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.7343, allocations: 32 kB / 0.7522 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7353, allocations: 148.7 kB / 0.7523 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.7355, allocations: 140.5 kB / 0.7525 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.7357, allocations: 60 kB / 0.7525 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001533/0.7372, allocations: 1.623 MB / 0.7541 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7372, allocations: 0 / 0.7541 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002742/0.7399, allocations: 0.9061 MB / 0.755 GB, free: 142.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007272/0.7472, allocations: 7.802 MB / 0.7626 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005263/0.7525, allocations: 5.146 MB / 0.7676 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7525, allocations: 0 / 0.7676 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.7542, allocations: 1.872 MB / 0.7695 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.7558, allocations: 372.3 kB / 0.7698 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/0.7905, allocations: 39.78 MB / 0.8087 GB, free: 84.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/0.7927, allocations: 3.164 MB / 0.8117 GB, free: 80.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002974/0.7956, allocations: 1.961 MB / 0.8137 GB, free: 78.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.7972, allocations: 1.706 MB / 0.8153 GB, free: 77.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.7972, allocations: 0 / 0.8153 GB, free: 77.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/0.8689, allocations: 55.14 MB / 0.8692 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/19.71, allocations: 15.69 kB / 0.8692 GB, free: 22.26 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.155328069988173]