Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001015, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.001469, allocations: 172.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.7 MB, free: 5.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.393/0.393, allocations: 43.55 MB / 314.5 MB, free: 8.594 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005866/0.0005867, allocations: 12 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1453, allocations: 58.85 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3035/0.4489, allocations: 45.1 MB / 487.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02387/0.4728, allocations: 10.25 MB / 498.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/0.4853, allocations: 218 kB / 498.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009825/0.4952, allocations: 2.189 MB / 0.4889 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02283/0.5181, allocations: 6.055 MB / 0.4948 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.5221, allocations: 0.5036 MB / 0.4953 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.5266, allocations: 1.417 MB / 0.4966 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.54, allocations: 6.406 MB / 0.5029 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.5429, allocations: 0.8189 MB / 0.5037 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.5459, allocations: 1.055 MB / 0.5047 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.5473, allocations: 146.9 kB / 0.5049 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.55, allocations: 0.554 MB / 0.5054 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.5533, allocations: 1.389 MB / 0.5068 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.5561, allocations: 0.7821 MB / 0.5075 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5674, allocations: 5.984 MB / 0.5134 GB, free: 3.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5674, allocations: 1 kB / 0.5134 GB, free: 3.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5675, allocations: 0 / 0.5134 GB, free: 3.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004926/0.568, allocations: 4 kB / 0.5134 GB, free: 3.734 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01394/0.5819, allocations: 3.902 MB / 0.5172 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.582, allocations: 9.094 kB / 0.5172 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003365/0.5854, allocations: 0.6797 MB / 0.5179 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.5897, allocations: 0.6277 MB / 0.5185 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007144/0.5969, allocations: 2.151 MB / 0.5206 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.5973, allocations: 267.5 kB / 0.5208 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.5992, allocations: 348.8 kB / 0.5212 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.6262, allocations: 9.387 MB / 0.5303 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.6263, allocations: 19.81 kB / 0.5304 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005595/0.6269, allocations: 155.9 kB / 0.5305 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002958/0.6299, allocations: 1.558 MB / 0.532 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/0.6494, allocations: 7.367 MB / 0.5392 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.6969, allocations: 27.97 MB / 0.5665 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00735/0.7043, allocations: 2.215 MB / 0.5687 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.7146, allocations: 6.776 MB / 0.5753 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/0.7147, allocations: 43.12 kB / 0.5754 GB, free: 6.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.765e-06/0.7147, allocations: 0 / 0.5754 GB, free: 6.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=98): time 0.02027/0.735, allocations: 7.445 MB / 0.5826 GB, free: 15.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.7352, allocations: 175.2 kB / 0.5828 GB, free: 14.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/0.7398, allocations: 2.705 MB / 0.5854 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.7401, allocations: 41.7 kB / 0.5855 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002058/0.7422, allocations: 2.528 MB / 0.5879 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005455/0.7428, allocations: 410.8 kB / 0.5883 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.7429, allocations: 80 kB / 0.5884 GB, free: 8.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.7432, allocations: 470.5 kB / 0.5889 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.7453, allocations: 1.109 MB / 0.5899 GB, free: 7.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.7491, allocations: 3.438 MB / 0.5933 GB, free: 2.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/0.7522, allocations: 1.868 MB / 0.5951 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.939e-05/0.7522, allocations: 24 kB / 0.5951 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.009629/0.7619, allocations: 4.465 MB / 0.5995 GB, free: 12.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.702e-05/0.762, allocations: 40 kB / 0.5995 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.7621, allocations: 87.78 kB / 0.5996 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.7622, allocations: 124.8 kB / 0.5997 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.7655, allocations: 0.9475 MB / 0.6007 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001636/0.7657, allocations: 163.4 kB / 0.6008 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.7688, allocations: 207.6 kB / 0.601 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.7692, allocations: 236 kB / 0.6012 GB, free: 10.67 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (504): * Single equations (assignments): 503 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003987/0.7732, allocations: 1.758 MB / 0.603 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/0.7737, allocations: 244.8 kB / 0.6032 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.7758, allocations: 1.182 MB / 0.6044 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.7758, allocations: 8 kB / 0.6044 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7758, allocations: 4 kB / 0.6044 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.7758, allocations: 3.984 kB / 0.6044 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.7875, allocations: 6.366 MB / 0.6106 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.7875, allocations: 16 kB / 0.6106 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.7885, allocations: 247.7 kB / 0.6108 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.778e-05/0.7886, allocations: 24 kB / 0.6109 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.7886, allocations: 44 kB / 0.6109 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.7887, allocations: 35.86 kB / 0.6109 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/0.7887, allocations: 19.94 kB / 0.611 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.7925, allocations: 3.737 MB / 0.6146 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009244/0.7934, allocations: 337.8 kB / 0.6149 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.7937, allocations: 47.98 kB / 0.615 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.7947, allocations: 59.95 kB / 0.615 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.7948, allocations: 127.5 kB / 0.6152 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.7949, allocations: 56 kB / 0.6152 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003004/0.7979, allocations: 1.774 MB / 0.6169 GB, free: 9.758 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.798, allocations: 7.828 kB / 0.6169 GB, free: 9.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004207/0.8022, allocations: 0.6992 MB / 0.6176 GB, free: 9.055 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3141/1.116, allocations: 8.663 MB / 0.6261 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007158/1.123, allocations: 2.571 MB / 0.6286 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/1.124, allocations: 2.625 kB / 0.6286 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.125, allocations: 0.6392 MB / 0.6292 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.127, allocations: 313.7 kB / 0.6295 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/1.173, allocations: 70.13 MB / 0.698 GB, free: 75.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006162/1.179, allocations: 3.042 MB / 0.701 GB, free: 74.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004841/1.184, allocations: 1.016 MB / 0.702 GB, free: 74.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003843/1.188, allocations: 1.627 MB / 0.7036 GB, free: 73.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/1.188, allocations: 0 / 0.7036 GB, free: 73.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.318, allocations: 52.09 MB / 0.7544 GB, free: 45.42 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.319, allocations: 177.3 kB / 0.7546 GB, free: 45.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.837/5.156, allocations: 4 kB / 0.7546 GB, free: 45.17 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat