Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.001335/0.001334, allocations: 95.89 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.002271/0.002271, allocations: 176.3 kB / 16.56 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.739/1.739, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4822/0.4822, allocations: 43.55 MB / 314.5 MB, free: 9.086 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.0005418/0.0005421, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2956/0.427, allocations: 40.7 MB / 483.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.4514, allocations: 9.252 MB / 492.8 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01297/0.4644, allocations: 192.7 kB / 493 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007626/0.4721, allocations: 1.977 MB / 495 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01813/0.4902, allocations: 5.532 MB / 0.4888 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.493, allocations: 496 kB / 0.4892 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.4957, allocations: 1.324 MB / 0.4905 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008238/0.504, allocations: 5.157 MB / 0.4956 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.507, allocations: 0.7493 MB / 0.4963 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.5096, allocations: 0.9656 MB / 0.4972 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005586/0.5102, allocations: 128.2 kB / 0.4974 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5118, allocations: 0.5447 MB / 0.4979 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002733/0.5145, allocations: 1.272 MB / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.5172, allocations: 0.7008 MB / 0.4998 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.528, allocations: 4.93 MB / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5281, allocations: 0 / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.5281, allocations: 0 / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003343/0.5284, allocations: 0 / 0.5046 GB, free: 10.25 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01252/0.541, allocations: 3.566 MB / 0.5081 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.541, allocations: 8.938 kB / 0.5081 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001839/0.5429, allocations: 0.6314 MB / 0.5087 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.546, allocations: 0.5818 MB / 0.5093 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.5501, allocations: 1.777 MB / 0.511 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.5504, allocations: 244.3 kB / 0.5113 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006353/0.551, allocations: 314.7 kB / 0.5116 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.5676, allocations: 8.798 MB / 0.5202 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/0.5678, allocations: 15.81 kB / 0.5202 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.5681, allocations: 143.9 kB / 0.5203 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/0.5707, allocations: 1.557 MB / 0.5218 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.5863, allocations: 6.825 MB / 0.5285 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04151/0.6278, allocations: 26.45 MB / 0.5543 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006615/0.6345, allocations: 1.964 MB / 0.5563 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009378/0.6439, allocations: 6.373 MB / 0.5625 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.644, allocations: 51.14 kB / 0.5625 GB, free: 3.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 3.156e-06/0.6441, allocations: 0 / 0.5625 GB, free: 3.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01683/0.6609, allocations: 6.229 MB / 0.5686 GB, free: 13.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.661, allocations: 149.5 kB / 0.5688 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/0.6648, allocations: 2.494 MB / 0.5712 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.665, allocations: 41.7 kB / 0.5712 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.667, allocations: 2.403 MB / 0.5736 GB, free: 8.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/0.6675, allocations: 391.2 kB / 0.5739 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.6677, allocations: 76 kB / 0.574 GB, free: 7.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003089/0.668, allocations: 462 kB / 0.5745 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.6699, allocations: 0.9365 MB / 0.5754 GB, free: 6.438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.6733, allocations: 3.249 MB / 0.5785 GB, free: 2.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.6759, allocations: 1.685 MB / 0.5802 GB, free: 364 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/0.676, allocations: 24 kB / 0.5802 GB, free: 340 kB / 446.1 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.007114/0.6831, allocations: 4.078 MB / 0.5842 GB, free: 12.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.6832, allocations: 43.94 kB / 0.5842 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-05/0.6833, allocations: 84.84 kB / 0.5843 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.6834, allocations: 120 kB / 0.5844 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.686, allocations: 0.9007 MB / 0.5853 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.6862, allocations: 159.4 kB / 0.5855 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.6884, allocations: 171.8 kB / 0.5856 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.6887, allocations: 224 kB / 0.5858 GB, free: 10.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (482): * Single equations (assignments): 482 * 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.002902/0.6916, allocations: 1.593 MB / 0.5874 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/0.692, allocations: 225 kB / 0.5876 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.694, allocations: 1.122 MB / 0.5887 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.694, allocations: 12 kB / 0.5887 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.694, allocations: 4 kB / 0.5887 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.694, allocations: 3.984 kB / 0.5887 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.7034, allocations: 5.956 MB / 0.5945 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/0.7035, allocations: 16 kB / 0.5946 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.7042, allocations: 216.4 kB / 0.5948 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-05/0.7042, allocations: 31.98 kB / 0.5948 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.7043, allocations: 40 kB / 0.5948 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.751e-05/0.7043, allocations: 35.86 kB / 0.5949 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/0.7044, allocations: 23.89 kB / 0.5949 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.7074, allocations: 3.297 MB / 0.5981 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.7081, allocations: 318 kB / 0.5984 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.7083, allocations: 47.98 kB / 0.5985 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.7091, allocations: 32 kB / 0.5985 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.7092, allocations: 135.5 kB / 0.5986 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.7093, allocations: 48 kB / 0.5987 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.712, allocations: 1.624 MB / 0.6003 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.712, allocations: 0 / 0.6003 GB, free: 10.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003301/0.7153, allocations: 0.6445 MB / 0.6009 GB, free: 10.21 MB / 478.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 (119): * Single equations (assignments): 119 * 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.004881/0.7202, allocations: 8.297 MB / 0.609 GB, free: 1.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.7245, allocations: 2.256 MB / 0.6112 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.7245, allocations: 4 kB / 0.6112 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.7253, allocations: 0.5313 MB / 0.6117 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.727, allocations: 301.5 kB / 0.612 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2459/0.9729, allocations: 68.76 MB / 0.6791 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002855/0.9758, allocations: 2.814 MB / 0.6819 GB, free: 121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002514/0.9784, allocations: 0.9916 MB / 0.6829 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/0.9804, allocations: 1.455 MB / 0.6843 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.683e-06/0.9804, allocations: 0 / 0.6843 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08614/1.067, allocations: 47.09 MB / 0.7303 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.067, allocations: 165.4 kB / 0.7304 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/4.299, allocations: 0 / 0.7304 GB, free: 102.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat