Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009977/0.0009977, allocations: 196.2 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008/0.0008001, allocations: 90.72 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1711/0.1711, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.2e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08666, allocations: 63.24 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4254, allocations: 110.8 MB / 0.6196 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4256, allocations: 77.77 kB / 0.6197 GB, free: 15.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1575/0.5832, allocations: 69.09 MB / 0.6872 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5832, allocations: 0 / 0.6872 GB, free: 2.387 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.5833, allocations: 64 kB / 0.6872 GB, free: 2.324 MB / 474.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.009321/0.5927, allocations: 3.496 MB / 0.6907 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5927, allocations: 11.97 kB / 0.6907 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001814/0.5946, allocations: 0.5604 MB / 0.6912 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.5977, allocations: 0.577 MB / 0.6918 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/0.6024, allocations: 2.048 MB / 0.6938 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.6027, allocations: 250.6 kB / 0.694 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.6037, allocations: 331.9 kB / 0.6943 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.6236, allocations: 7.917 MB / 0.7021 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.6238, allocations: 19.81 kB / 0.7021 GB, free: 2.629 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.6249, allocations: 147.9 kB / 0.7022 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.626, allocations: 0.6615 MB / 0.7029 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.6412, allocations: 6.734 MB / 0.7094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03461/0.6759, allocations: 25.7 MB / 0.7345 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/0.6828, allocations: 2.21 MB / 0.7367 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.6842, allocations: 1.038 MB / 0.7377 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008551/0.6928, allocations: 7.085 MB / 0.7446 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6928, allocations: 43.34 kB / 0.7447 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 2.424e-06/0.6928, allocations: 0 / 0.7447 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.01568/0.7085, allocations: 4.697 MB / 0.7493 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7086, allocations: 60.19 kB / 0.7493 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2541/0.9627, allocations: 2.105 MB / 0.7514 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.9629, allocations: 43.58 kB / 0.7514 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.964, allocations: 2.064 MB / 0.7534 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.9643, allocations: 386.8 kB / 0.7538 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.9644, allocations: 69.25 kB / 0.7539 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.9646, allocations: 454 kB / 0.7543 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.9659, allocations: 0.9873 MB / 0.7553 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.9682, allocations: 3.137 MB / 0.7583 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.9704, allocations: 1.714 MB / 0.76 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/0.9704, allocations: 21.66 kB / 0.76 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=453) (initialization): time 0.006392/0.9768, allocations: 4.026 MB / 0.764 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.9769, allocations: 37.94 kB / 0.764 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.9771, allocations: 79.05 kB / 0.7641 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.9772, allocations: 112.9 kB / 0.7642 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.9799, allocations: 0.8407 MB / 0.765 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.98, allocations: 153.8 kB / 0.7651 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.9823, allocations: 178.1 kB / 0.7653 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.9827, allocations: 210.9 kB / 0.7655 GB, free: 142.5 MB / 0.5261 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.0004732/0.9831, allocations: 409.5 kB / 0.7659 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.9835, allocations: 209 kB / 0.7661 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.9858, allocations: 1.384 MB / 0.7675 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.9858, allocations: 9.656 kB / 0.7675 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9858, allocations: 3.219 kB / 0.7675 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.9858, allocations: 9 kB / 0.7675 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.9949, allocations: 5.397 MB / 0.7727 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.995, allocations: 19 kB / 0.7728 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.9957, allocations: 241.5 kB / 0.773 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/0.9958, allocations: 23.59 kB / 0.773 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.9958, allocations: 44.5 kB / 0.7731 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/0.9958, allocations: 36.67 kB / 0.7731 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.9959, allocations: 26.59 kB / 0.7731 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.998, allocations: 3.262 MB / 0.7763 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.9985, allocations: 303.9 kB / 0.7766 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.9987, allocations: 51.12 kB / 0.7766 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.9995, allocations: 54.78 kB / 0.7767 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.9996, allocations: 126.3 kB / 0.7768 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.9997, allocations: 54.75 kB / 0.7769 GB, free: 138 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0018/1.001, allocations: 1.493 MB / 0.7783 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 0 / 0.7783 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002784/1.004, allocations: 0.6219 MB / 0.7789 GB, free: 137.8 MB / 0.5261 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.002723/1.007, allocations: 8.119 MB / 0.7869 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003075/1.01, allocations: 2.35 MB / 0.7892 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.01, allocations: 3.562 kB / 0.7892 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006123/1.011, allocations: 0.6019 MB / 0.7897 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.012, allocations: 324.3 kB / 0.7901 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.023, allocations: 5.844 MB / 0.7958 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/1.026, allocations: 2.52 MB / 0.7982 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002753/1.029, allocations: 0.9756 MB / 0.7992 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.03, allocations: 1.247 MB / 0.8004 GB, free: 125 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/1.03, allocations: 0 / 0.8004 GB, free: 125 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06682/1.097, allocations: 46.2 MB / 0.8455 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/1.097, allocations: 147.6 kB / 0.8457 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/3.908, allocations: 0 / 0.8457 GB, free: 104.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat