Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002156/0.002156, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009043, allocations: 89.67 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6283/0.6283, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.547e-05/4.565e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.7023, allocations: 114.6 MB / 0.5849 GB, free: 7.227 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.7026, allocations: 78.2 kB / 0.5849 GB, free: 7.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.674/1.377, allocations: 123.6 MB / 0.7056 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.344e-06/1.377, allocations: 0 / 0.7056 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003518/1.377, allocations: 107.9 kB / 0.7057 GB, free: 91.12 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02359/1.401, allocations: 5.653 MB / 0.7113 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.784e-05/1.401, allocations: 9.625 kB / 0.7113 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005217/1.406, allocations: 0.9714 MB / 0.7122 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/1.426, allocations: 4.733 MB / 0.7168 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/1.446, allocations: 6.64 MB / 0.7233 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000621/1.447, allocations: 444.6 kB / 0.7238 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/1.45, allocations: 0.5401 MB / 0.7243 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/1.484, allocations: 14.07 MB / 0.738 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003473/1.484, allocations: 75.91 kB / 0.7381 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/1.485, allocations: 263.6 kB / 0.7383 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/1.488, allocations: 1.292 MB / 0.7396 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.515, allocations: 11.67 MB / 0.751 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06206/1.578, allocations: 59.33 MB / 0.8089 GB, free: 41.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.589, allocations: 4.647 MB / 0.8135 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.592, allocations: 2.704 MB / 0.8161 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.609, allocations: 12.62 MB / 0.8284 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.609, allocations: 51.75 kB / 0.8285 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 4.909e-06/1.609, allocations: 0 / 0.8285 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.09331/1.702, allocations: 32.86 MB / 0.8606 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/1.702, allocations: 239.3 kB / 0.8608 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006733/1.709, allocations: 4.195 MB / 0.8649 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007574/1.71, allocations: 61.7 kB / 0.865 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/1.712, allocations: 3.914 MB / 0.8688 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.713, allocations: 0.9048 MB / 0.8697 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/1.714, allocations: 144 kB / 0.8698 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003396/1.714, allocations: 0.6159 MB / 0.8704 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/1.718, allocations: 3.154 MB / 0.8735 GB, free: 252 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02123/1.74, allocations: 8.283 MB / 0.8816 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008614/1.748, allocations: 4.748 MB / 0.8862 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/1.748, allocations: 40 kB / 0.8863 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.3932/2.142, allocations: 13.67 MB / 0.8996 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/2.142, allocations: 72.33 kB / 0.8997 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004359/2.142, allocations: 153.3 kB / 0.8998 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/2.155, allocations: 3.805 MB / 0.9035 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006466/2.161, allocations: 1.605 MB / 0.9051 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/2.186, allocations: 18.01 MB / 0.9227 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007729/2.193, allocations: 482.8 kB / 0.9231 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/2.195, allocations: 437.6 kB / 0.9236 GB, free: 91.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001489/2.197, allocations: 0.6537 MB / 0.9242 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/2.198, allocations: 440.4 kB / 0.9246 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/2.217, allocations: 8.072 MB / 0.9325 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.769e-05/2.217, allocations: 27.08 kB / 0.9325 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/2.217, allocations: 11.66 kB / 0.9325 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.247e-05/2.217, allocations: 11.66 kB / 0.9325 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/2.254, allocations: 17.39 MB / 0.9495 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-05/2.254, allocations: 3.156 kB / 0.9495 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/2.256, allocations: 386.8 kB / 0.9499 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/2.268, allocations: 3.849 MB / 0.9537 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006211/2.268, allocations: 39.59 kB / 0.9537 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/2.289, allocations: 16.46 MB / 0.9698 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.289, allocations: 0 / 0.9698 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/2.31, allocations: 12.56 MB / 0.982 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/2.313, allocations: 0.9348 MB / 0.9829 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007193/2.314, allocations: 39.83 kB / 0.983 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/2.316, allocations: 215.2 kB / 0.9832 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000637/2.317, allocations: 144.3 kB / 0.9833 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/2.317, allocations: 62.09 kB / 0.9834 GB, free: 73.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005016/2.322, allocations: 2.925 MB / 0.9862 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/2.322, allocations: 0 / 0.9862 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007438/2.33, allocations: 1.463 MB / 0.9877 GB, free: 72.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02155/2.351, allocations: 13.45 MB / 1.001 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01209/2.363, allocations: 7.744 MB / 1.008 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.363, allocations: 0 / 1.008 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003876/2.367, allocations: 2.915 MB / 1.011 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/2.371, allocations: 497.7 kB / 1.012 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0339/2.405, allocations: 12.44 MB / 1.024 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/2.412, allocations: 4.221 MB / 1.028 GB, free: 46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005959/2.418, allocations: 2.178 MB / 1.03 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004156/2.422, allocations: 2.484 MB / 1.033 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of SimCode: time 2.314e-06/2.422, allocations: 0 / 1.033 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5534/2.975, allocations: 111.1 MB / 1.141 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/2.975, allocations: 163.7 kB / 1.141 GB, free: 99.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.394/8.369, allocations: 0 / 1.141 GB, free: 99.7 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat