Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008342/0.0008341, allocations: 87.2 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1701/0.1701, allocations: 45.13 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.953e-05, allocations: 8 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08876, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4327, allocations: 109 MB / 0.6179 GB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.433, allocations: 74.16 kB / 0.618 GB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.5545, allocations: 52.66 MB / 0.6694 GB, free: 4.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5546, allocations: 4 kB / 0.6694 GB, free: 4.035 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.5547, allocations: 48 kB / 0.6694 GB, free: 3.988 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.004393/0.5591, allocations: 2.237 MB / 0.6716 GB, free: 1.855 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5591, allocations: 11.97 kB / 0.6716 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007513/0.5599, allocations: 449.7 kB / 0.6721 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.5617, allocations: 444 kB / 0.6725 GB, free: 1.129 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.5642, allocations: 1.466 MB / 0.6739 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.5644, allocations: 193.3 kB / 0.6741 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/0.5648, allocations: 263.9 kB / 0.6744 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009994/0.5748, allocations: 5.566 MB / 0.6798 GB, free: 9.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.5748, allocations: 15.88 kB / 0.6798 GB, free: 9.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.5751, allocations: 120 kB / 0.6799 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004899/0.5756, allocations: 411.5 kB / 0.6803 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008567/0.5842, allocations: 4.316 MB / 0.6845 GB, free: 4.656 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.6021, allocations: 18.48 MB / 0.7026 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.6056, allocations: 1.221 MB / 0.7038 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.6061, allocations: 370.4 kB / 0.7041 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.6077, allocations: 2.066 MB / 0.7061 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.6078, allocations: 39.12 kB / 0.7062 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.615e-06/0.6078, allocations: 4 kB / 0.7062 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109): time 0.01694/0.6247, allocations: 4.945 MB / 0.711 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6248, allocations: 64.41 kB / 0.7111 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.6269, allocations: 1.517 MB / 0.7125 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.6269, allocations: 45.64 kB / 0.7126 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.6278, allocations: 1.52 MB / 0.7141 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.6281, allocations: 390.7 kB / 0.7144 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.6282, allocations: 56 kB / 0.7145 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.6284, allocations: 419.4 kB / 0.7149 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6294, allocations: 0.7355 MB / 0.7156 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.6313, allocations: 2.177 MB / 0.7177 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.6329, allocations: 1.261 MB / 0.719 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.6329, allocations: 16 kB / 0.719 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.003904/0.6368, allocations: 2.93 MB / 0.7219 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.6368, allocations: 28 kB / 0.7219 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/0.6369, allocations: 56 kB / 0.7219 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.542e-05/0.637, allocations: 76 kB / 0.722 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.6387, allocations: 0.601 MB / 0.7226 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.574e-05/0.6388, allocations: 107.6 kB / 0.7227 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.64, allocations: 119.8 kB / 0.7228 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.6402, allocations: 156 kB / 0.723 GB, free: 11.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.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],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (341): * Single equations (assignments): 341 * 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.0003073/0.6405, allocations: 327.6 kB / 0.7233 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.6407, allocations: 161.9 kB / 0.7234 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.6426, allocations: 1.214 MB / 0.7246 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6426, allocations: 12 kB / 0.7246 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6426, allocations: 0 / 0.7246 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.6426, allocations: 7.969 kB / 0.7246 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.6506, allocations: 6.191 MB / 0.7307 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.6506, allocations: 20 kB / 0.7307 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.6512, allocations: 203.6 kB / 0.7309 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/0.6512, allocations: 28.66 kB / 0.7309 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.6513, allocations: 48 kB / 0.731 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/0.6513, allocations: 39.86 kB / 0.731 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-05/0.6514, allocations: 31.88 kB / 0.731 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.6539, allocations: 3.116 MB / 0.7341 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.6543, allocations: 270.8 kB / 0.7343 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6545, allocations: 51.97 kB / 0.7344 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.6551, allocations: 39.95 kB / 0.7344 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6552, allocations: 131.5 kB / 0.7345 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.6553, allocations: 63.92 kB / 0.7346 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001523/0.6568, allocations: 1.107 MB / 0.7357 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6569, allocations: 0 / 0.7357 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001804/0.6587, allocations: 479.9 kB / 0.7361 GB, free: 12.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.004303/0.663, allocations: 9.421 MB / 0.7453 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0025/0.6655, allocations: 1.73 MB / 0.747 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.6655, allocations: 0.8125 kB / 0.747 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.6661, allocations: 483.1 kB / 0.7475 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.6671, allocations: 267.5 kB / 0.7477 GB, free: 92 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.9065, allocations: 4.753 MB / 0.7524 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.9086, allocations: 2.126 MB / 0.7545 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001942/0.9105, allocations: 0.677 MB / 0.7551 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/0.9115, allocations: 0.9565 MB / 0.7561 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.9115, allocations: 0 / 0.7561 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/0.9621, allocations: 35.5 MB / 0.7907 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.9623, allocations: 147.6 kB / 0.7909 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.567, allocations: 3.094 kB / 0.7909 GB, free: 152.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat