Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001043/0.001043, allocations: 96.28 kB / 15.69 MB, free: 480 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.001209/0.001209, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.757/1.757, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3857/0.3857, allocations: 43.55 MB / 314.5 MB, free: 8.848 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.0005983/0.0005984, allocations: 12 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2599/0.3956, allocations: 45.08 MB / 487.9 MB, free: 22.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.4192, allocations: 10.38 MB / 498.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.4296, allocations: 211.3 kB / 498.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007359/0.437, allocations: 2.181 MB / 0.489 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01914/0.4562, allocations: 6.059 MB / 0.4949 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.46, allocations: 0.6364 MB / 0.4955 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.4635, allocations: 1.461 MB / 0.4969 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009895/0.4734, allocations: 6.424 MB / 0.5032 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.4752, allocations: 0.8265 MB / 0.504 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.4773, allocations: 1.09 MB / 0.5051 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005251/0.4779, allocations: 151.3 kB / 0.5052 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.4799, allocations: 0.6806 MB / 0.5059 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.4823, allocations: 1.408 MB / 0.5073 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.4839, allocations: 0.7793 MB / 0.508 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.4952, allocations: 6.19 MB / 0.5141 GB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4952, allocations: 0 / 0.5141 GB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4952, allocations: 0 / 0.5141 GB, free: 3.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003291/0.4956, allocations: 1.375 kB / 0.5141 GB, free: 3.328 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01568/0.5113, allocations: 4.135 MB / 0.5181 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5113, allocations: 9.031 kB / 0.5181 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002727/0.5141, allocations: 0.6856 MB / 0.5188 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.5187, allocations: 0.6607 MB / 0.5194 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/0.526, allocations: 2.254 MB / 0.5216 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.5263, allocations: 267.9 kB / 0.5219 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.5283, allocations: 348.9 kB / 0.5222 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/0.5641, allocations: 10.73 MB / 0.5327 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.5644, allocations: 15.88 kB / 0.5327 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/0.5662, allocations: 155.9 kB / 0.5329 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004406/0.5706, allocations: 1.643 MB / 0.5345 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03204/0.6027, allocations: 9.412 MB / 0.5436 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04989/0.6527, allocations: 30.84 MB / 0.5738 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009691/0.6624, allocations: 3.13 MB / 0.5768 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/0.676, allocations: 9.386 MB / 0.586 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.6761, allocations: 55.5 kB / 0.586 GB, free: 11.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 3.667e-06/0.6761, allocations: 0 / 0.586 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02639/0.7025, allocations: 8.988 MB / 0.5948 GB, free: 2.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.7026, allocations: 119.8 kB / 0.5949 GB, free: 2.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/0.7069, allocations: 2.863 MB / 0.5977 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.7071, allocations: 49.69 kB / 0.5978 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002128/0.7093, allocations: 2.513 MB / 0.6002 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.7098, allocations: 438.6 kB / 0.6006 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.71, allocations: 83.94 kB / 0.6007 GB, free: 12.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.7102, allocations: 478.8 kB / 0.6012 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.7125, allocations: 1.468 MB / 0.6026 GB, free: 10.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.7167, allocations: 3.812 MB / 0.6063 GB, free: 5.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.7203, allocations: 2.258 MB / 0.6085 GB, free: 3.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.971e-05/0.7204, allocations: 24 kB / 0.6086 GB, free: 3.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.009683/0.73, allocations: 5.242 MB / 0.6137 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.7301, allocations: 40 kB / 0.6137 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.7303, allocations: 84 kB / 0.6138 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.7304, allocations: 120 kB / 0.6139 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.734, allocations: 0.9981 MB / 0.6149 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/0.7341, allocations: 167.7 kB / 0.6151 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/0.7375, allocations: 227.5 kB / 0.6153 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/0.7381, allocations: 244 kB / 0.6155 GB, free: 12.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (524): * Single equations (assignments): 523 * 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.003607/0.7417, allocations: 1.758 MB / 0.6172 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/0.7423, allocations: 240.9 kB / 0.6174 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.7458, allocations: 2.061 MB / 0.6195 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.7459, allocations: 12 kB / 0.6195 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.7459, allocations: 4 kB / 0.6195 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7459, allocations: 7.938 kB / 0.6195 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.7586, allocations: 6.649 MB / 0.626 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.7586, allocations: 16 kB / 0.626 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7597, allocations: 255.8 kB / 0.6262 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-05/0.7598, allocations: 24 kB / 0.6263 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.7599, allocations: 36 kB / 0.6263 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.7599, allocations: 35.81 kB / 0.6263 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/0.7599, allocations: 19.94 kB / 0.6263 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2356/0.9955, allocations: 3.507 MB / 0.6298 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/0.9964, allocations: 343.1 kB / 0.6301 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.9967, allocations: 42.09 kB / 0.6301 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9978, allocations: 64.72 kB / 0.6302 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.9979, allocations: 124.8 kB / 0.6303 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.998, allocations: 53.17 kB / 0.6304 GB, free: 139.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003969/1.002, allocations: 1.825 MB / 0.6322 GB, free: 138.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.002, allocations: 0 / 0.6322 GB, free: 138.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006308/1.008, allocations: 0.7539 MB / 0.6329 GB, free: 138.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.004849/1.013, allocations: 7.569 MB / 0.6403 GB, free: 132.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0052/1.018, allocations: 3.172 MB / 0.6434 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.019, allocations: 2.969 kB / 0.6434 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.02, allocations: 0.8038 MB / 0.6442 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.021, allocations: 304.9 kB / 0.6445 GB, free: 132 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/1.053, allocations: 69.7 MB / 0.7125 GB, free: 65.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.057, allocations: 3.022 MB / 0.7155 GB, free: 64.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003398/1.06, allocations: 1.022 MB / 0.7165 GB, free: 64.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/1.063, allocations: 1.611 MB / 0.718 GB, free: 62.78 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/1.063, allocations: 0 / 0.718 GB, free: 62.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.165, allocations: 55.27 MB / 0.772 GB, free: 27.89 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.165, allocations: 169.4 kB / 0.7722 GB, free: 27.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/4.641, allocations: 6.125 kB / 0.7722 GB, free: 27.64 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat