Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008175/0.0008175, allocations: 90.05 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1835/0.1835, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.423e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09142, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4758, allocations: 109.4 MB / 0.6113 GB, free: 9.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4761, allocations: 75.95 kB / 0.6114 GB, free: 9.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1563/0.6323, allocations: 66.07 MB / 0.6759 GB, free: 15.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.6324, allocations: 0 / 0.6759 GB, free: 15.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.6325, allocations: 71.98 kB / 0.676 GB, free: 15.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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.006624/0.6391, allocations: 3.251 MB / 0.6791 GB, free: 12.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6392, allocations: 8.031 kB / 0.6791 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.6417, allocations: 0.5692 MB / 0.6797 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/0.6462, allocations: 2.025 MB / 0.6817 GB, free: 9.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.6463, allocations: 108 kB / 0.6818 GB, free: 9.355 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006163/0.6469, allocations: 192 kB / 0.682 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007941/0.6549, allocations: 4.642 MB / 0.6865 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.666, allocations: 6.055 MB / 0.6924 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.6661, allocations: 19.81 kB / 0.6924 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.6664, allocations: 8 kB / 0.6924 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000809/0.6672, allocations: 0.6107 MB / 0.693 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02758/0.6948, allocations: 23.03 MB / 0.7155 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.6965, allocations: 1.037 MB / 0.7165 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.6974, allocations: 0.7177 MB / 0.7172 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007286/0.7047, allocations: 5.42 MB / 0.7225 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.7047, allocations: 43.12 kB / 0.7226 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 2.785e-06/0.7048, allocations: 0 / 0.7226 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.007794/0.7126, allocations: 2.84 MB / 0.7253 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7126, allocations: 60.19 kB / 0.7254 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.7149, allocations: 1.764 MB / 0.7271 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.7149, allocations: 25.7 kB / 0.7271 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.7162, allocations: 2.096 MB / 0.7292 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.7164, allocations: 300.3 kB / 0.7295 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.7165, allocations: 4 kB / 0.7295 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.7168, allocations: 445 kB / 0.7299 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.7179, allocations: 0.7563 MB / 0.7306 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.7204, allocations: 2.817 MB / 0.7334 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.7222, allocations: 1.436 MB / 0.7348 GB, free: 428 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.7222, allocations: 20 kB / 0.7348 GB, free: 408 kB / 0.5105 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.00461/0.7268, allocations: 3.126 MB / 0.7379 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.7269, allocations: 36 kB / 0.7379 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.66e-05/0.727, allocations: 76.84 kB / 0.738 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.7271, allocations: 111.9 kB / 0.7381 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.7293, allocations: 0.7798 MB / 0.7389 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.613e-05/0.7294, allocations: 147.4 kB / 0.739 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.731, allocations: 87.88 kB / 0.7391 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.7312, allocations: 200 kB / 0.7393 GB, free: 11.84 MB / 0.5261 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.0003592/0.7316, allocations: 319 kB / 0.7396 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001086/0.7327, allocations: 0.8064 MB / 0.7404 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.7329, allocations: 181.7 kB / 0.7405 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.7343, allocations: 0.9196 MB / 0.7414 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7343, allocations: 12 kB / 0.7414 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7343, allocations: 0 / 0.7414 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.7343, allocations: 3.984 kB / 0.7414 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.7397, allocations: 3.718 MB / 0.7451 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.7397, allocations: 16.97 kB / 0.7451 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.7404, allocations: 207.6 kB / 0.7453 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/0.7404, allocations: 28 kB / 0.7453 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.7405, allocations: 20 kB / 0.7453 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/0.7405, allocations: 27.92 kB / 0.7454 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/0.7405, allocations: 23.88 kB / 0.7454 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.7426, allocations: 2.647 MB / 0.748 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.7429, allocations: 274.5 kB / 0.7482 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.7431, allocations: 27.94 kB / 0.7483 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.7438, allocations: 19.98 kB / 0.7483 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.7439, allocations: 119.5 kB / 0.7484 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.7439, allocations: 44 kB / 0.7484 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001591/0.7455, allocations: 1.163 MB / 0.7496 GB, free: 124 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7455, allocations: 0 / 0.7496 GB, free: 124 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.2523/0.9979, allocations: 490.3 kB / 0.75 GB, free: 149 MB / 0.5261 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.003297/1.001, allocations: 7.559 MB / 0.7574 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003135/1.004, allocations: 1.808 MB / 0.7592 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.004, allocations: 3.125 kB / 0.7592 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/1.005, allocations: 437.4 kB / 0.7596 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.007, allocations: 246.2 kB / 0.7598 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.019, allocations: 5.451 MB / 0.7652 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/1.022, allocations: 2.51 MB / 0.7676 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003398/1.025, allocations: 0.874 MB / 0.7685 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/1.028, allocations: 1.229 MB / 0.7697 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/1.028, allocations: 2.688 kB / 0.7697 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/1.099, allocations: 38.95 MB / 0.8077 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.099, allocations: 127.7 kB / 0.8078 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/4.223, allocations: 0 / 0.8078 GB, free: 137.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat