Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",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.001985/0.001985, allocations: 169.9 kB / 8.742 MB, free: 344 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.468/1.468, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.001159/0.001159, allocations: 99.3 kB / 281.6 MB, free: 5.305 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.2082/0.2082, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.731e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.6202, allocations: 108.3 MB / 0.6006 GB, free: 3.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.6205, allocations: 75.97 kB / 0.6007 GB, free: 3.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1645/0.785, allocations: 66 MB / 0.6651 GB, free: 1.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.785, allocations: 0 / 0.6651 GB, free: 1.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001494/0.7852, allocations: 64 kB / 0.6652 GB, free: 1.41 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01186/0.7971, allocations: 3.246 MB / 0.6683 GB, free: 14.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.7971, allocations: 11.98 kB / 0.6683 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/0.8008, allocations: 0.5729 MB / 0.6689 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/0.8066, allocations: 2.025 MB / 0.6709 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.8069, allocations: 112 kB / 0.671 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.8081, allocations: 203.8 kB / 0.6712 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009927/0.8181, allocations: 4.638 MB / 0.6757 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.8332, allocations: 6.051 MB / 0.6816 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.8334, allocations: 15.88 kB / 0.6816 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007149/0.8341, allocations: 8 kB / 0.6816 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/0.8352, allocations: 0.6147 MB / 0.6822 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/0.8675, allocations: 23.04 MB / 0.7047 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.8693, allocations: 1.04 MB / 0.7058 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.8703, allocations: 0.7177 MB / 0.7065 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007421/0.8777, allocations: 5.412 MB / 0.7118 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.8778, allocations: 43.12 kB / 0.7118 GB, free: 72 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 3.797e-06/0.8778, allocations: 4 kB / 0.7118 GB, free: 68 kB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.3665/1.244, allocations: 2.831 MB / 0.7146 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.244, allocations: 60 kB / 0.7146 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/1.25, allocations: 1.769 MB / 0.7163 GB, free: 144 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.25, allocations: 25.7 kB / 0.7164 GB, free: 144 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.252, allocations: 2.095 MB / 0.7184 GB, free: 143 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/1.253, allocations: 302.4 kB / 0.7187 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/1.253, allocations: 0 / 0.7187 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003786/1.253, allocations: 448.7 kB / 0.7191 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/1.255, allocations: 0.7555 MB / 0.7199 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/1.259, allocations: 2.821 MB / 0.7226 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/1.263, allocations: 1.428 MB / 0.724 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/1.263, allocations: 20.81 kB / 0.724 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.01049/1.273, allocations: 3.133 MB / 0.7271 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/1.274, allocations: 36.78 kB / 0.7271 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/1.274, allocations: 74.31 kB / 0.7272 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/1.274, allocations: 110.4 kB / 0.7273 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/1.279, allocations: 0.7782 MB / 0.7281 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002992/1.279, allocations: 151 kB / 0.7282 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.284, allocations: 82.83 kB / 0.7283 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.285, allocations: 205.2 kB / 0.7285 GB, free: 139.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 339 * Number of states: 0 () * Number of discrete variables: 50 (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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 429 * 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.001546/1.286, allocations: 309.6 kB / 0.7288 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002751/1.289, allocations: 0.8046 MB / 0.7296 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/1.29, allocations: 180.2 kB / 0.7297 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.293, allocations: 0.9225 MB / 0.7306 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.293, allocations: 14.97 kB / 0.7307 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.293, allocations: 0.6094 kB / 0.7307 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.293, allocations: 3.469 kB / 0.7307 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.305, allocations: 3.711 MB / 0.7343 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-05/1.305, allocations: 15.78 kB / 0.7343 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.306, allocations: 202.3 kB / 0.7345 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.568e-05/1.306, allocations: 28.91 kB / 0.7345 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/1.306, allocations: 21.33 kB / 0.7345 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-05/1.306, allocations: 32.31 kB / 0.7346 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.382e-05/1.306, allocations: 25.19 kB / 0.7346 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/1.31, allocations: 2.647 MB / 0.7372 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/1.311, allocations: 274.5 kB / 0.7374 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.311, allocations: 25.06 kB / 0.7375 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.312, allocations: 19.62 kB / 0.7375 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.312, allocations: 117.9 kB / 0.7376 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/1.312, allocations: 46.56 kB / 0.7376 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00262/1.315, allocations: 1.165 MB / 0.7388 GB, free: 135 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/1.315, allocations: 0 / 0.7388 GB, free: 135 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005844/1.321, allocations: 498.7 kB / 0.7393 GB, free: 135 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.004494/1.325, allocations: 7.561 MB / 0.7466 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006148/1.332, allocations: 1.804 MB / 0.7484 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.388e-05/1.332, allocations: 3.656 kB / 0.7484 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.333, allocations: 441 kB / 0.7488 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.335, allocations: 245.7 kB / 0.7491 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/1.354, allocations: 5.459 MB / 0.7544 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00344/1.357, allocations: 2.512 MB / 0.7568 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004184/1.361, allocations: 0.8707 MB / 0.7577 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/1.364, allocations: 1.229 MB / 0.7589 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.71e-07/1.364, allocations: 0 / 0.7589 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.464, allocations: 38.95 MB / 0.7969 GB, free: 111 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.465, allocations: 131.9 kB / 0.7971 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/4.39, allocations: 0 / 0.7971 GB, free: 110.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat