Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",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.001617/0.001617, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0008971/0.0008971, allocations: 96.84 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1885/0.1885, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.3e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.5238, allocations: 110.6 MB / 0.6028 GB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5242, allocations: 82.23 kB / 0.6029 GB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/0.6803, allocations: 63.49 MB / 0.6649 GB, free: 1.832 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6804, allocations: 0 / 0.6649 GB, free: 1.832 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.6805, allocations: 75.98 kB / 0.6649 GB, free: 1.758 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01157/0.6921, allocations: 3.544 MB / 0.6684 GB, free: 14.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.6922, allocations: 15.98 kB / 0.6684 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.696, allocations: 0.6232 MB / 0.669 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.7017, allocations: 2.419 MB / 0.6714 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.7019, allocations: 120 kB / 0.6715 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009774/0.7029, allocations: 219.9 kB / 0.6717 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008977/0.7119, allocations: 5.12 MB / 0.6767 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.7233, allocations: 6.593 MB / 0.6831 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.7234, allocations: 15.88 kB / 0.6832 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/0.7237, allocations: 11.95 kB / 0.6832 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008438/0.7246, allocations: 0.6272 MB / 0.6838 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.7572, allocations: 24.63 MB / 0.7078 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.759, allocations: 1.135 MB / 0.7089 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009768/0.76, allocations: 0.7858 MB / 0.7097 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3152/1.075, allocations: 5.822 MB / 0.7154 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.075, allocations: 48.08 kB / 0.7154 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 3.356e-06/1.075, allocations: 0 / 0.7154 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=79): time 0.01038/1.086, allocations: 4.098 MB / 0.7194 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.086, allocations: 114.5 kB / 0.7196 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/1.089, allocations: 1.88 MB / 0.7214 GB, free: 138 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/1.089, allocations: 26.8 kB / 0.7214 GB, free: 138 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.091, allocations: 2.228 MB / 0.7236 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/1.091, allocations: 311 kB / 0.7239 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/1.091, allocations: 0 / 0.7239 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.091, allocations: 449.2 kB / 0.7243 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.092, allocations: 0.802 MB / 0.7251 GB, free: 136.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/1.095, allocations: 2.871 MB / 0.7279 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/1.098, allocations: 1.503 MB / 0.7294 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.135e-05/1.098, allocations: 25.61 kB / 0.7294 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.006843/1.105, allocations: 3.25 MB / 0.7326 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/1.105, allocations: 37.83 kB / 0.7326 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/1.105, allocations: 75.72 kB / 0.7327 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/1.105, allocations: 110.8 kB / 0.7328 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.108, allocations: 0.7863 MB / 0.7335 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001913/1.108, allocations: 150 kB / 0.7337 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.111, allocations: 112.2 kB / 0.7338 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/1.111, allocations: 204.7 kB / 0.734 GB, free: 133.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * 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.000688/1.112, allocations: 315.9 kB / 0.7343 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00205/1.114, allocations: 0.8957 MB / 0.7352 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.115, allocations: 189.1 kB / 0.7354 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/1.116, allocations: 0.9651 MB / 0.7363 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.116, allocations: 12.38 kB / 0.7363 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.116, allocations: 3.656 kB / 0.7363 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.116, allocations: 8.859 kB / 0.7363 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/1.124, allocations: 4.241 MB / 0.7405 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.124, allocations: 15.38 kB / 0.7405 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/1.125, allocations: 232 kB / 0.7407 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.784e-05/1.125, allocations: 30.8 kB / 0.7407 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/1.125, allocations: 26.5 kB / 0.7407 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.192e-05/1.125, allocations: 38.27 kB / 0.7408 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/1.125, allocations: 27.25 kB / 0.7408 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.127, allocations: 3.3 MB / 0.744 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/1.128, allocations: 294.1 kB / 0.7443 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.128, allocations: 26.91 kB / 0.7443 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/1.129, allocations: 22.36 kB / 0.7444 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.129, allocations: 132.1 kB / 0.7445 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/1.129, allocations: 56.38 kB / 0.7445 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001861/1.131, allocations: 1.243 MB / 0.7458 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.92e-07/1.131, allocations: 0 / 0.7458 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003859/1.135, allocations: 0.5262 MB / 0.7463 GB, free: 128.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.003561/1.138, allocations: 8.986 MB / 0.755 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003376/1.142, allocations: 1.918 MB / 0.7569 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.142, allocations: 4.781 kB / 0.7569 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/1.142, allocations: 0.5046 MB / 0.7574 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.144, allocations: 271.7 kB / 0.7577 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.159, allocations: 6.156 MB / 0.7637 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/1.163, allocations: 2.738 MB / 0.7664 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002732/1.166, allocations: 0.8761 MB / 0.7672 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.167, allocations: 1.359 MB / 0.7685 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.975e-06/1.167, allocations: 0 / 0.7685 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/1.244, allocations: 42.74 MB / 0.8103 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.244, allocations: 131.8 kB / 0.8104 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.73, allocations: 0 / 0.8104 GB, free: 95.82 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat