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.001716/0.001715, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008492/0.0008492, allocations: 99.28 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.783e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5626, allocations: 110.1 MB / 0.612 GB, free: 8.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5629, allocations: 73.72 kB / 0.6121 GB, free: 8.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1749/0.7378, allocations: 67.42 MB / 0.6779 GB, free: 13.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7379, allocations: 0 / 0.6779 GB, free: 13.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002091/0.7381, allocations: 60 kB / 0.678 GB, free: 13.42 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.01177/0.7499, allocations: 3.496 MB / 0.6814 GB, free: 9.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.7499, allocations: 12.03 kB / 0.6814 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.7534, allocations: 0.5692 MB / 0.6819 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.7589, allocations: 2.052 MB / 0.6839 GB, free: 7.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.7591, allocations: 111.9 kB / 0.6841 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.7604, allocations: 188 kB / 0.6842 GB, free: 6.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009275/0.7697, allocations: 4.869 MB / 0.689 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.7841, allocations: 6.288 MB / 0.6951 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.7843, allocations: 15.88 kB / 0.6951 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008294/0.7851, allocations: 8 kB / 0.6952 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.7862, allocations: 0.6615 MB / 0.6958 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/0.8211, allocations: 24.79 MB / 0.72 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.8231, allocations: 1.303 MB / 0.7213 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.8243, allocations: 0.9911 MB / 0.7222 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009162/0.8335, allocations: 6.843 MB / 0.7289 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.8336, allocations: 39.34 kB / 0.729 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/0.8336, allocations: 0 / 0.729 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01174/0.8453, allocations: 4.389 MB / 0.7332 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.8454, allocations: 60.19 kB / 0.7333 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.8481, allocations: 1.824 MB / 0.7351 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.8482, allocations: 25.7 kB / 0.7351 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.8496, allocations: 2.115 MB / 0.7372 GB, free: 15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.8499, allocations: 331.7 kB / 0.7375 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.85, allocations: 0 / 0.7375 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002613/0.8503, allocations: 457.5 kB / 0.7379 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.8516, allocations: 0.9051 MB / 0.7388 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.8543, allocations: 3.054 MB / 0.7418 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.8591, allocations: 1.945 MB / 0.7437 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/0.8591, allocations: 24 kB / 0.7437 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.008048/0.8672, allocations: 3.83 MB / 0.7475 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.8673, allocations: 40 kB / 0.7475 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/0.8673, allocations: 76 kB / 0.7476 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.8675, allocations: 115.8 kB / 0.7477 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.87, allocations: 0.8422 MB / 0.7485 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/0.8701, allocations: 155.4 kB / 0.7487 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.8722, allocations: 111.9 kB / 0.7488 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.8725, allocations: 212 kB / 0.749 GB, free: 1.832 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * 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 (454): * Single equations (assignments): 454 * 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.0004589/0.873, allocations: 317.4 kB / 0.7493 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001608/0.8746, allocations: 1.041 MB / 0.7503 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.8748, allocations: 193.5 kB / 0.7505 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3119/1.187, allocations: 1.14 MB / 0.7516 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.187, allocations: 8.656 kB / 0.7516 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.187, allocations: 1.906 kB / 0.7516 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.187, allocations: 3.703 kB / 0.7516 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007706/1.195, allocations: 4.056 MB / 0.7556 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.195, allocations: 15.25 kB / 0.7556 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/1.195, allocations: 222.3 kB / 0.7558 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.253e-05/1.196, allocations: 24.09 kB / 0.7558 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/1.196, allocations: 25.19 kB / 0.7558 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.036e-05/1.196, allocations: 29.8 kB / 0.7559 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.582e-05/1.196, allocations: 28.5 kB / 0.7559 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/1.199, allocations: 2.74 MB / 0.7586 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/1.199, allocations: 273.2 kB / 0.7588 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.199, allocations: 26.47 kB / 0.7588 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/1.2, allocations: 28.28 kB / 0.7589 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.2, allocations: 121.5 kB / 0.759 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/1.2, allocations: 50.59 kB / 0.759 GB, free: 144 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002003/1.202, allocations: 1.186 MB / 0.7602 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.202, allocations: 0 / 0.7602 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003327/1.206, allocations: 0.5248 MB / 0.7607 GB, free: 143.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 119 * 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.003348/1.209, allocations: 7.537 MB / 0.7681 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003787/1.213, allocations: 2.071 MB / 0.7701 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.213, allocations: 4.844 kB / 0.7701 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/1.214, allocations: 0.499 MB / 0.7706 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.215, allocations: 249.1 kB / 0.7708 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.229, allocations: 5.573 MB / 0.7763 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.232, allocations: 2.524 MB / 0.7787 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002455/1.234, allocations: 0.9267 MB / 0.7796 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.235, allocations: 1.252 MB / 0.7809 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.71e-07/1.235, allocations: 3.281 kB / 0.7809 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07936/1.315, allocations: 41.09 MB / 0.821 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.315, allocations: 127.7 kB / 0.8211 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.272, allocations: 3.844 kB / 0.8211 GB, free: 128.9 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