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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 104.4 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.001646/0.001646, 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.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.234/0.234, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002374/0.002374, allocations: 77.97 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1313, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01752/0.1489, allocations: 13.45 MB / 493.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1592, allocations: 4.209 MB / 497.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.1619, allocations: 67.88 kB / 497.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004668/0.1667, allocations: 1.966 MB / 499.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005319/0.172, allocations: 1.884 MB / 0.49 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1737, allocations: 0.5498 MB / 0.4906 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.1799, allocations: 4.039 MB / 0.4945 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005703/0.1857, allocations: 2.862 MB / 0.4973 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.1898, allocations: 1.436 MB / 0.4987 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.1938, allocations: 2.013 MB / 0.5007 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.1952, allocations: 312 kB / 0.501 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.1982, allocations: 0.9986 MB / 0.5019 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003268/0.2015, allocations: 1.847 MB / 0.5037 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1974/0.3989, allocations: 2.237 MB / 0.5059 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.4076, allocations: 6.975 MB / 0.5127 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4076, allocations: 0 / 0.5127 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4077, allocations: 2.344 kB / 0.5127 GB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.4079, allocations: 1.5 kB / 0.5127 GB, free: 15.34 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0124/0.4203, allocations: 4.9 MB / 0.5175 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4204, allocations: 9.844 kB / 0.5175 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001988/0.4224, allocations: 0.8158 MB / 0.5183 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4338, allocations: 3.142 MB / 0.5214 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.4391, allocations: 2.379 MB / 0.5237 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.4393, allocations: 239.2 kB / 0.524 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.4405, allocations: 309.4 kB / 0.5243 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.46, allocations: 12.08 MB / 0.536 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.4602, allocations: 35.47 kB / 0.5361 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007425/0.4609, allocations: 146.3 kB / 0.5362 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004184/0.4651, allocations: 2.831 MB / 0.539 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.487, allocations: 11.36 MB / 0.5501 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06606/0.5531, allocations: 41.28 MB / 0.5904 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.566, allocations: 6.079 MB / 0.5963 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/0.5712, allocations: 3.001 MB / 0.5993 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/0.5734, allocations: 1.89 MB / 0.6011 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.5735, allocations: 48.56 kB / 0.6012 GB, free: 6.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 5.47e-06/0.5735, allocations: 0 / 0.6012 GB, free: 6.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.05237/0.6259, allocations: 20.14 MB / 0.6208 GB, free: 2.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.626, allocations: 77.41 kB / 0.6209 GB, free: 2.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.6309, allocations: 3.035 MB / 0.6239 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006091/0.6316, allocations: 64.2 kB / 0.6239 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002953/0.6345, allocations: 2.983 MB / 0.6268 GB, free: 12.24 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/0.6365, allocations: 1.016 MB / 0.6278 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/0.6386, allocations: 1.19 MB / 0.629 GB, free: 10.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6387, allocations: 301.1 kB / 0.6293 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/0.6436, allocations: 2.846 MB / 0.632 GB, free: 6.883 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00778/0.6514, allocations: 6.028 MB / 0.6379 GB, free: 15.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.6655, allocations: 9.659 MB / 0.6474 GB, free: 4.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.683e-05/0.6656, allocations: 32 kB / 0.6474 GB, free: 4.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02241/0.6881, allocations: 10.02 MB / 0.6572 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.6882, allocations: 59.92 kB / 0.6572 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.6884, allocations: 111.9 kB / 0.6573 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.6927, allocations: 1.366 MB / 0.6587 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005482/0.6982, allocations: 1.369 MB / 0.66 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.7103, allocations: 7.818 MB / 0.6677 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/0.7159, allocations: 366 kB / 0.668 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/0.7172, allocations: 340 kB / 0.6683 GB, free: 15.44 MB / 0.5137 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.005253/0.7224, allocations: 2.298 MB / 0.6706 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.7231, allocations: 308 kB / 0.6709 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.7355, allocations: 6.623 MB / 0.6773 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/0.7356, allocations: 50.02 kB / 0.6774 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7356, allocations: 8 kB / 0.6774 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.7357, allocations: 15.95 kB / 0.6774 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/0.761, allocations: 14.01 MB / 0.6911 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.761, allocations: 8 kB / 0.6911 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/0.7632, allocations: 455.3 kB / 0.6915 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.7668, allocations: 1.209 MB / 0.6927 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/0.7671, allocations: 58.95 kB / 0.6928 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009987/0.7771, allocations: 6.968 MB / 0.6996 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.7772, allocations: 11.94 kB / 0.6996 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/0.7953, allocations: 9.863 MB / 0.7092 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.7963, allocations: 349.3 kB / 0.7095 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009569/0.7973, allocations: 47.98 kB / 0.7096 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/0.7993, allocations: 199.7 kB / 0.7098 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/0.7998, allocations: 167.7 kB / 0.7099 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/0.8, allocations: 79.98 kB / 0.71 GB, free: 4.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003266/0.8033, allocations: 1.871 MB / 0.7118 GB, free: 2.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8033, allocations: 4 kB / 0.7118 GB, free: 2.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005223/0.8086, allocations: 1.104 MB / 0.7129 GB, free: 1.246 MB / 0.545 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.2405/1.049, allocations: 10.52 MB / 0.7232 GB, free: 194.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01752/1.067, allocations: 11.99 MB / 0.7349 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.067, allocations: 0 / 0.7349 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/1.07, allocations: 2.851 MB / 0.7377 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.073, allocations: 430.4 kB / 0.7381 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06248/1.135, allocations: 52.72 MB / 0.7896 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003598/1.139, allocations: 3.57 MB / 0.7931 GB, free: 132.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004487/1.144, allocations: 2.2 MB / 0.7952 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/1.146, allocations: 2.065 MB / 0.7972 GB, free: 128.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/1.146, allocations: 3.938 kB / 0.7972 GB, free: 128.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.251, allocations: 73.2 MB / 0.8687 GB, free: 55.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.84, allocations: 4.953 kB / 0.8687 GB, free: 55.14 MB / 0.545 GB (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 --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)