Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003324, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4844, allocations: 107.6 MB / 0.5839 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4847, allocations: 84.14 kB / 0.584 GB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1884/0.6731, allocations: 75.09 MB / 0.6573 GB, free: 5.199 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6732, allocations: 0 / 0.6573 GB, free: 5.199 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001948/0.6734, allocations: 72 kB / 0.6574 GB, free: 5.129 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01185/0.6852, allocations: 3.772 MB / 0.661 GB, free: 1.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6853, allocations: 8.031 kB / 0.6611 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002339/0.6876, allocations: 0.6593 MB / 0.6617 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.6909, allocations: 0.6739 MB / 0.6624 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.6969, allocations: 2.2 MB / 0.6645 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.6972, allocations: 299.8 kB / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.6982, allocations: 383.8 kB / 0.6652 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.7192, allocations: 8.58 MB / 0.6735 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.534e-05/0.7194, allocations: 19.81 kB / 0.6736 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005468/0.7199, allocations: 167.9 kB / 0.6737 GB, free: 3.867 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.7215, allocations: 0.7914 MB / 0.6745 GB, free: 3.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.7392, allocations: 6.78 MB / 0.6811 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3014/1.041, allocations: 27.82 MB / 0.7083 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/1.049, allocations: 1.934 MB / 0.7102 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/1.061, allocations: 6.349 MB / 0.7164 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.061, allocations: 49.34 kB / 0.7164 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 4.017e-06/1.061, allocations: 0 / 0.7164 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.01812/1.079, allocations: 6.306 MB / 0.7226 GB, free: 122 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.079, allocations: 140.8 kB / 0.7227 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/1.083, allocations: 2.225 MB / 0.7249 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/1.083, allocations: 47.05 kB / 0.7249 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.084, allocations: 2.399 MB / 0.7273 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/1.085, allocations: 389.4 kB / 0.7276 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/1.085, allocations: 77.84 kB / 0.7277 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.085, allocations: 466.6 kB / 0.7282 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.087, allocations: 0.9388 MB / 0.7291 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/1.089, allocations: 3.246 MB / 0.7322 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/1.091, allocations: 1.69 MB / 0.7339 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/1.091, allocations: 24.91 kB / 0.7339 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005491/1.096, allocations: 4.073 MB / 0.7379 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/1.097, allocations: 44.53 kB / 0.7379 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.569e-05/1.097, allocations: 81.31 kB / 0.738 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.913e-05/1.097, allocations: 121.2 kB / 0.7381 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.099, allocations: 0.8971 MB / 0.739 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.982e-05/1.099, allocations: 170.1 kB / 0.7392 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.102, allocations: 177.2 kB / 0.7393 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/1.102, allocations: 223.7 kB / 0.7395 GB, free: 116.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (483): * Single equations (assignments): 483 * 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.002801/1.105, allocations: 1.589 MB / 0.7411 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/1.105, allocations: 214.7 kB / 0.7413 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/1.107, allocations: 1.135 MB / 0.7424 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.107, allocations: 11.23 kB / 0.7424 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.107, allocations: 3.969 kB / 0.7424 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.107, allocations: 7.328 kB / 0.7424 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.117, allocations: 6.162 MB / 0.7485 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.117, allocations: 19.53 kB / 0.7485 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/1.118, allocations: 248.7 kB / 0.7487 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.994e-05/1.118, allocations: 33.36 kB / 0.7487 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/1.118, allocations: 44.38 kB / 0.7488 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/1.118, allocations: 38.61 kB / 0.7488 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-05/1.118, allocations: 32.59 kB / 0.7489 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/1.121, allocations: 3.779 MB / 0.7525 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.122, allocations: 335.9 kB / 0.7529 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.122, allocations: 47.06 kB / 0.7529 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/1.123, allocations: 49.81 kB / 0.753 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.123, allocations: 144.1 kB / 0.7531 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/1.123, allocations: 56.88 kB / 0.7531 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002467/1.126, allocations: 1.619 MB / 0.7547 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.126, allocations: 0 / 0.7547 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004276/1.13, allocations: 0.6524 MB / 0.7554 GB, free: 110.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.00466/1.135, allocations: 9.634 MB / 0.7648 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003679/1.138, allocations: 2.303 MB / 0.767 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.138, allocations: 4 kB / 0.767 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007383/1.139, allocations: 0.5799 MB / 0.7676 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.141, allocations: 306.6 kB / 0.7679 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/1.179, allocations: 68.96 MB / 0.8352 GB, free: 33.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005622/1.184, allocations: 2.82 MB / 0.838 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003019/1.187, allocations: 1.01 MB / 0.839 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.189, allocations: 1.469 MB / 0.8404 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/1.189, allocations: 0 / 0.8404 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07424/1.264, allocations: 47.66 MB / 0.8869 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.264, allocations: 166.9 kB / 0.8871 GB, free: 2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/4.659, allocations: 3.938 kB / 0.8871 GB, free: 1.996 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat