Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 236 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008966, allocations: 83.86 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.829e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5789, allocations: 109.7 MB / 0.6089 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5792, allocations: 79.95 kB / 0.609 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1763/0.7555, allocations: 69.03 MB / 0.6764 GB, free: 6.004 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7555, allocations: 0 / 0.6764 GB, free: 6.004 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000141/0.7557, allocations: 60 kB / 0.6765 GB, free: 5.945 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01057/0.7663, allocations: 3.468 MB / 0.6799 GB, free: 2.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7663, allocations: 12.03 kB / 0.6799 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001736/0.7681, allocations: 0.5604 MB / 0.6804 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.7708, allocations: 0.5731 MB / 0.681 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/0.7754, allocations: 2.044 MB / 0.683 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.7756, allocations: 250.6 kB / 0.6832 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006383/0.7762, allocations: 327.8 kB / 0.6835 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.7934, allocations: 7.925 MB / 0.6913 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.905e-05/0.7936, allocations: 19.81 kB / 0.6913 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.794, allocations: 147.9 kB / 0.6914 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008995/0.7949, allocations: 0.6616 MB / 0.6921 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.8106, allocations: 6.734 MB / 0.6987 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3814/1.192, allocations: 25.7 MB / 0.7238 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008178/1.2, allocations: 2.202 MB / 0.7259 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/1.202, allocations: 1.038 MB / 0.7269 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/1.213, allocations: 7.084 MB / 0.7338 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.213, allocations: 39.55 kB / 0.7339 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/1.213, allocations: 3.844 kB / 0.7339 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01741/1.23, allocations: 4.696 MB / 0.7385 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.231, allocations: 61.62 kB / 0.7385 GB, free: 121 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/1.234, allocations: 2.109 MB / 0.7406 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.234, allocations: 40.52 kB / 0.7406 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.236, allocations: 2.072 MB / 0.7426 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/1.236, allocations: 385.4 kB / 0.743 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.236, allocations: 73.69 kB / 0.7431 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.236, allocations: 461.4 kB / 0.7435 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/1.238, allocations: 0.9786 MB / 0.7445 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/1.241, allocations: 3.138 MB / 0.7475 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/1.243, allocations: 1.715 MB / 0.7492 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.382e-05/1.243, allocations: 22.84 kB / 0.7492 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=453) (initialization): time 0.006323/1.249, allocations: 4.034 MB / 0.7532 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/1.249, allocations: 39.53 kB / 0.7532 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.594e-05/1.249, allocations: 76.81 kB / 0.7533 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/1.249, allocations: 112.8 kB / 0.7534 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/1.252, allocations: 0.8366 MB / 0.7542 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/1.252, allocations: 157.5 kB / 0.7544 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.255, allocations: 179.2 kB / 0.7545 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/1.255, allocations: 210.2 kB / 0.7547 GB, free: 116 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 453 * 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.0004296/1.255, allocations: 413.5 kB / 0.7551 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/1.256, allocations: 207 kB / 0.7553 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/1.258, allocations: 1.386 MB / 0.7567 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.258, allocations: 7.531 kB / 0.7567 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.258, allocations: 7.25 kB / 0.7567 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/1.258, allocations: 5.016 kB / 0.7567 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/1.267, allocations: 5.396 MB / 0.762 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.267, allocations: 17.78 kB / 0.762 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/1.268, allocations: 240.3 kB / 0.7622 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/1.268, allocations: 28.45 kB / 0.7622 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/1.268, allocations: 39.12 kB / 0.7623 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-05/1.268, allocations: 35.3 kB / 0.7623 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.268, allocations: 30.41 kB / 0.7623 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.271, allocations: 3.27 MB / 0.7655 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/1.271, allocations: 300.8 kB / 0.7658 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.271, allocations: 46.02 kB / 0.7659 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/1.272, allocations: 52.25 kB / 0.7659 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.272, allocations: 130.5 kB / 0.766 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/1.272, allocations: 53.88 kB / 0.7661 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001991/1.274, allocations: 1.489 MB / 0.7676 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.274, allocations: 0 / 0.7676 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003315/1.278, allocations: 0.6115 MB / 0.7681 GB, free: 108.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.003507/1.281, allocations: 8.116 MB / 0.7761 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003839/1.285, allocations: 2.352 MB / 0.7784 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.285, allocations: 1.875 kB / 0.7784 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/1.286, allocations: 0.6027 MB / 0.779 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.288, allocations: 317.8 kB / 0.7793 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.302, allocations: 5.834 MB / 0.785 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/1.304, allocations: 2.522 MB / 0.7874 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002725/1.307, allocations: 0.9761 MB / 0.7884 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.309, allocations: 1.244 MB / 0.7896 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/1.309, allocations: 0 / 0.7896 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/1.384, allocations: 46.15 MB / 0.8347 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.384, allocations: 147.2 kB / 0.8348 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/5.057, allocations: 0 / 0.8348 GB, free: 65.85 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat