Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 198.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.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009977/0.0009976, allocations: 93.36 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 45.14 MB / 383.7 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.38e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09401, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.4808, allocations: 109.2 MB / 0.6111 GB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.481, allocations: 73.28 kB / 0.6112 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.6089, allocations: 53.17 MB / 0.6631 GB, free: 12.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6089, allocations: 0 / 0.6631 GB, free: 12.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.078e-05/0.609, allocations: 48 kB / 0.6631 GB, free: 12.41 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.005991/0.615, allocations: 2.48 MB / 0.6656 GB, free: 10.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6151, allocations: 12.03 kB / 0.6656 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.6179, allocations: 452 kB / 0.666 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/0.6233, allocations: 1.477 MB / 0.6674 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.6235, allocations: 84 kB / 0.6675 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.6246, allocations: 152 kB / 0.6677 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00949/0.6341, allocations: 3.577 MB / 0.6712 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.6452, allocations: 4.618 MB / 0.6757 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.6453, allocations: 15.88 kB / 0.6757 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/0.6457, allocations: 11.95 kB / 0.6757 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008924/0.6466, allocations: 476.1 kB / 0.6761 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.6734, allocations: 18.96 MB / 0.6947 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.6748, allocations: 0.8383 MB / 0.6955 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.6756, allocations: 0.6157 MB / 0.6961 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005949/0.6815, allocations: 4.413 MB / 0.7004 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6816, allocations: 43.12 kB / 0.7004 GB, free: 5.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.376e-06/0.6816, allocations: 0 / 0.7004 GB, free: 5.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01461/0.6962, allocations: 4.829 MB / 0.7052 GB, free: 200 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6963, allocations: 60.19 kB / 0.7052 GB, free: 128 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.6984, allocations: 1.367 MB / 0.7065 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.6985, allocations: 25.7 kB / 0.7066 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.6996, allocations: 1.562 MB / 0.7081 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.6999, allocations: 323.6 kB / 0.7084 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.7, allocations: 0 / 0.7084 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.7002, allocations: 468.2 kB / 0.7088 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.7014, allocations: 0.8058 MB / 0.7096 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.7037, allocations: 2.308 MB / 0.7119 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/0.7082, allocations: 1.647 MB / 0.7135 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.7082, allocations: 12 kB / 0.7135 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.00709/0.7153, allocations: 3.16 MB / 0.7166 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.7154, allocations: 28 kB / 0.7166 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-05/0.7154, allocations: 56.05 kB / 0.7167 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.033e-05/0.7155, allocations: 88.02 kB / 0.7168 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.7177, allocations: 0.655 MB / 0.7174 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.887e-05/0.7178, allocations: 107.6 kB / 0.7175 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7194, allocations: 87.84 kB / 0.7176 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.7196, allocations: 156 kB / 0.7177 GB, free: 2.477 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.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],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (342): * Single equations (assignments): 342 * 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.0003246/0.7199, allocations: 268.7 kB / 0.718 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001576/0.7215, allocations: 1.104 MB / 0.7191 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7217, allocations: 146.1 kB / 0.7192 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.7237, allocations: 1.275 MB / 0.7205 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7237, allocations: 8 kB / 0.7205 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7237, allocations: 4 kB / 0.7205 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.7237, allocations: 7.938 kB / 0.7205 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.7304, allocations: 3.613 MB / 0.724 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.7304, allocations: 4 kB / 0.724 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009786/0.7314, allocations: 211.6 kB / 0.7242 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/0.7315, allocations: 8 kB / 0.7242 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.7315, allocations: 19.94 kB / 0.7242 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.7316, allocations: 8 kB / 0.7242 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.7316, allocations: 7.938 kB / 0.7242 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.7338, allocations: 1.546 MB / 0.7258 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.7342, allocations: 219.2 kB / 0.726 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7343, allocations: 4 kB / 0.726 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.735, allocations: 47.92 kB / 0.726 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.7351, allocations: 60.39 kB / 0.7261 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.7352, allocations: 31.98 kB / 0.7261 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00135/0.7365, allocations: 0.9038 MB / 0.727 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7366, allocations: 0 / 0.727 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002353/0.7389, allocations: 443.9 kB / 0.7274 GB, free: 8.207 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.003085/0.742, allocations: 3.288 MB / 0.7306 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003471/0.7455, allocations: 1.835 MB / 0.7324 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7455, allocations: 0 / 0.7324 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.7463, allocations: 0.5311 MB / 0.7329 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7474, allocations: 158.7 kB / 0.7331 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7576, allocations: 4.251 MB / 0.7372 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.7598, allocations: 2.097 MB / 0.7393 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00221/0.7621, allocations: 0.6813 MB / 0.7399 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.7634, allocations: 0.9406 MB / 0.7409 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.7634, allocations: 0 / 0.7409 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/1.103, allocations: 33.72 MB / 0.7738 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.103, allocations: 129.8 kB / 0.7739 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.987, allocations: 0 / 0.7739 GB, free: 154.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat