Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.001095/0.001095, allocations: 95.34 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.001661/0.001661, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.807/1.807, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4613/0.4613, allocations: 43.55 MB / 314.5 MB, free: 8.969 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.000528/0.000528, allocations: 19.98 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.84 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2506/0.386, allocations: 40.74 MB / 483.6 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.4047, allocations: 9.391 MB / 493 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009103/0.4138, allocations: 191.8 kB / 493.2 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007474/0.4213, allocations: 1.979 MB / 495.1 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02543/0.4468, allocations: 5.521 MB / 0.4889 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.451, allocations: 0.6267 MB / 0.4895 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003984/0.455, allocations: 1.37 MB / 0.4909 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008651/0.4637, allocations: 5.177 MB / 0.4959 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.466, allocations: 0.7872 MB / 0.4967 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.468, allocations: 1 MB / 0.4977 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.4685, allocations: 130.5 kB / 0.4978 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4703, allocations: 0.6533 MB / 0.4984 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.472, allocations: 1.277 MB / 0.4997 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.4731, allocations: 0.7008 MB / 0.5004 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008367/0.4815, allocations: 5.028 MB / 0.5053 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4815, allocations: 0 / 0.5053 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.4815, allocations: 0 / 0.5053 GB, free: 9.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003501/0.4819, allocations: 0 / 0.5053 GB, free: 9.742 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01279/0.4947, allocations: 3.764 MB / 0.509 GB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.4948, allocations: 9.656 kB / 0.509 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0034/0.4982, allocations: 0.6324 MB / 0.5096 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.5023, allocations: 0.5837 MB / 0.5102 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5087, allocations: 1.838 MB / 0.5119 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.509, allocations: 235.4 kB / 0.5122 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.5106, allocations: 322.8 kB / 0.5125 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.5322, allocations: 9.382 MB / 0.5216 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/0.5324, allocations: 11.88 kB / 0.5217 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005194/0.5329, allocations: 147.9 kB / 0.5218 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.5357, allocations: 1.596 MB / 0.5234 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.5559, allocations: 7.641 MB / 0.5308 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/0.6007, allocations: 28.05 MB / 0.5582 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/0.6085, allocations: 2.361 MB / 0.5605 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.6198, allocations: 7.688 MB / 0.568 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.6199, allocations: 43.16 kB / 0.5681 GB, free: 13.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.335e-06/0.6199, allocations: 0 / 0.5681 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.02043/0.6403, allocations: 7.179 MB / 0.5751 GB, free: 6.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.6404, allocations: 141.5 kB / 0.5752 GB, free: 6.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.6443, allocations: 2.643 MB / 0.5778 GB, free: 3.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6444, allocations: 41.7 kB / 0.5778 GB, free: 3.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.6461, allocations: 2.423 MB / 0.5802 GB, free: 1.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.6465, allocations: 399.1 kB / 0.5806 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.6467, allocations: 76 kB / 0.5807 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.647, allocations: 470.3 kB / 0.5811 GB, free: 440 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.6487, allocations: 1.074 MB / 0.5821 GB, free: 15.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.6523, allocations: 3.463 MB / 0.5855 GB, free: 10.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.655, allocations: 1.857 MB / 0.5873 GB, free: 8.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/0.6551, allocations: 24 kB / 0.5874 GB, free: 8.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007795/0.6629, allocations: 4.426 MB / 0.5917 GB, free: 4.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.663, allocations: 43.95 kB / 0.5917 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.6631, allocations: 88 kB / 0.5918 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.6632, allocations: 124.8 kB / 0.5919 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.6662, allocations: 0.9514 MB / 0.5929 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.6664, allocations: 171.3 kB / 0.593 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/0.6695, allocations: 191.8 kB / 0.5932 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.6699, allocations: 232 kB / 0.5934 GB, free: 2.594 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (499): * Single equations (assignments): 499 * 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 prepare postOptimizeDAE: time 0.003229/0.6732, allocations: 1.597 MB / 0.595 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.6737, allocations: 229 kB / 0.5952 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.676, allocations: 1.385 MB / 0.5966 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.676, allocations: 8 kB / 0.5966 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.676, allocations: 4 kB / 0.5966 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.676, allocations: 8.062 kB / 0.5966 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6871, allocations: 6.036 MB / 0.6025 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.6871, allocations: 16 kB / 0.6025 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/0.688, allocations: 223.6 kB / 0.6027 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.688, allocations: 20 kB / 0.6027 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.6881, allocations: 36 kB / 0.6028 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.646e-05/0.6881, allocations: 35.86 kB / 0.6028 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.6881, allocations: 19.94 kB / 0.6028 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.6915, allocations: 3.256 MB / 0.606 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.6923, allocations: 333.8 kB / 0.6063 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.6926, allocations: 39.94 kB / 0.6063 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.6935, allocations: 47.98 kB / 0.6064 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.6936, allocations: 120.1 kB / 0.6065 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.6937, allocations: 56 kB / 0.6066 GB, free: 4.332 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003043/0.6967, allocations: 1.681 MB / 0.6082 GB, free: 2.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6968, allocations: 0 / 0.6082 GB, free: 2.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004182/0.7009, allocations: 0.6719 MB / 0.6089 GB, free: 1.973 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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.006692/0.7077, allocations: 7.804 MB / 0.6165 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005079/0.7128, allocations: 2.5 MB / 0.6189 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-05/0.7128, allocations: 4 kB / 0.6189 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.7138, allocations: 0.5696 MB / 0.6195 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.7156, allocations: 306.1 kB / 0.6198 GB, free: 6.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2371/0.9527, allocations: 71.28 MB / 0.6894 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.9567, allocations: 2.809 MB / 0.6921 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002986/0.9597, allocations: 1.04 MB / 0.6931 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/0.9618, allocations: 1.46 MB / 0.6946 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.9618, allocations: 0 / 0.6946 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.071, allocations: 49.38 MB / 0.7428 GB, free: 90.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.071, allocations: 173.3 kB / 0.743 GB, free: 89.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/4.487, allocations: 0 / 0.743 GB, free: 89.96 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat