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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.242/0.242, allocations: 46.12 MB / 344.2 MB, free: 11.51 MB / 286.1 MB 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.002278/0.002278, allocations: 84.56 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01489/0.14, allocations: 12.28 MB / 492.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008487/0.1485, allocations: 3.936 MB / 496.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.1506, allocations: 67.81 kB / 496.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.154, allocations: 1.308 MB / 497.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.1585, allocations: 1.724 MB / 499.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1599, allocations: 487 kB / 500 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005313/0.1652, allocations: 3.601 MB / 0.4918 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.1681, allocations: 2.013 MB / 0.4938 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.1703, allocations: 1.187 MB / 0.4949 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.1732, allocations: 1.717 MB / 0.4966 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007089/0.1739, allocations: 236 kB / 0.4968 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.176, allocations: 0.9283 MB / 0.4977 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.178, allocations: 1.574 MB / 0.4993 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.1807, allocations: 1.882 MB / 0.5011 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2472/0.428, allocations: 5.887 MB / 0.5069 GB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.428, allocations: 0.9375 kB / 0.5069 GB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.428, allocations: 0 / 0.5069 GB, free: 18.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002657/0.4283, allocations: 0 / 0.5069 GB, free: 18.45 MB / 382.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.01366/0.442, allocations: 4.142 MB / 0.5109 GB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.442, allocations: 11.48 kB / 0.5109 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002134/0.4442, allocations: 0.711 MB / 0.5116 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.4574, allocations: 3.082 MB / 0.5146 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.4636, allocations: 2.087 MB / 0.5166 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.4639, allocations: 188.8 kB / 0.5168 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.4656, allocations: 248.7 kB / 0.5171 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.4849, allocations: 10.49 MB / 0.5273 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.4851, allocations: 29.08 kB / 0.5273 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004795/0.4856, allocations: 117 kB / 0.5274 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004084/0.4897, allocations: 2.554 MB / 0.5299 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.5072, allocations: 9.929 MB / 0.5396 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06364/0.5709, allocations: 34.46 MB / 0.5733 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.5821, allocations: 5.191 MB / 0.5784 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/0.5859, allocations: 2.291 MB / 0.5806 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/0.588, allocations: 1.883 MB / 0.5824 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.5881, allocations: 55.73 kB / 0.5825 GB, free: 10.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 6.582e-06/0.5881, allocations: 0 / 0.5825 GB, free: 10.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03768/0.6258, allocations: 13.98 MB / 0.5961 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.6259, allocations: 77.34 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/0.6315, allocations: 2.633 MB / 0.5988 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/0.6321, allocations: 61.69 kB / 0.5988 GB, free: 9.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.6344, allocations: 2.62 MB / 0.6014 GB, free: 6.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.6359, allocations: 0.8603 MB / 0.6022 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002932/0.6389, allocations: 1.036 MB / 0.6033 GB, free: 4.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.639, allocations: 301.1 kB / 0.6035 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/0.6429, allocations: 2.196 MB / 0.6057 GB, free: 2.215 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006228/0.6492, allocations: 5.06 MB / 0.6106 GB, free: 11.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.6598, allocations: 7.962 MB / 0.6184 GB, free: 2.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-05/0.66, allocations: 32 kB / 0.6184 GB, free: 2.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01569/0.6757, allocations: 7.86 MB / 0.6261 GB, free: 11.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/0.6758, allocations: 48 kB / 0.6262 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.676, allocations: 100 kB / 0.6262 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/0.6785, allocations: 0.793 MB / 0.627 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/0.683, allocations: 1.181 MB / 0.6282 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.6894, allocations: 4.525 MB / 0.6326 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.6929, allocations: 298.3 kB / 0.6329 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009252/0.6938, allocations: 300 kB / 0.6332 GB, free: 3.977 MB / 478.1 MB 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.003903/0.6977, allocations: 2.008 MB / 0.6351 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/0.6983, allocations: 260.6 kB / 0.6354 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/0.7071, allocations: 4.729 MB / 0.64 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/0.7072, allocations: 51.11 kB / 0.64 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7072, allocations: 0 / 0.64 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.7072, allocations: 11.91 kB / 0.6401 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/0.7276, allocations: 10.53 MB / 0.6503 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.7277, allocations: 7.938 kB / 0.6503 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.7294, allocations: 368.3 kB / 0.6507 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.7314, allocations: 0.6599 MB / 0.6513 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/0.7317, allocations: 45.53 kB / 0.6514 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005313/0.737, allocations: 3.904 MB / 0.6552 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.737, allocations: 11.94 kB / 0.6552 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.7482, allocations: 7.14 MB / 0.6622 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/0.749, allocations: 305.7 kB / 0.6625 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.7494, allocations: 38.66 kB / 0.6625 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.7507, allocations: 143.8 kB / 0.6627 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/0.751, allocations: 129.1 kB / 0.6628 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.7512, allocations: 66.59 kB / 0.6628 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002588/0.7538, allocations: 1.623 MB / 0.6644 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7538, allocations: 1.969 kB / 0.6644 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004137/0.7579, allocations: 0.9065 MB / 0.6653 GB, free: 2.645 MB / 0.4981 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.01147/0.7694, allocations: 7.795 MB / 0.6729 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01441/0.7839, allocations: 8.667 MB / 0.6814 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7839, allocations: 0.9375 kB / 0.6814 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.7869, allocations: 2.019 MB / 0.6834 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.7892, allocations: 363.7 kB / 0.6837 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2901/1.079, allocations: 42.31 MB / 0.725 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004333/1.084, allocations: 3.167 MB / 0.7281 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004525/1.088, allocations: 1.958 MB / 0.73 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.091, allocations: 1.71 MB / 0.7317 GB, free: 187.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.091, allocations: 0 / 0.7317 GB, free: 187.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09275/1.183, allocations: 57.24 MB / 0.7876 GB, free: 139.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.53, allocations: 15.92 kB / 0.7876 GB, free: 139.9 MB / 0.545 GB (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)