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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.000924/0.0009241, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0003001, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 63.46 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.02945/0.1603, allocations: 29.17 MB / 0.4987 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1772, allocations: 7.196 MB / 0.5057 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005844/0.1831, allocations: 135.7 kB / 0.5059 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2841/0.4672, allocations: 1.415 MB / 0.5073 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.4829, allocations: 4.017 MB / 0.5112 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.4856, allocations: 375.8 kB / 0.5115 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.488, allocations: 0.8503 MB / 0.5124 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007502/0.4955, allocations: 3.978 MB / 0.5163 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.4969, allocations: 0.5033 MB / 0.5167 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4981, allocations: 0.6682 MB / 0.5174 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.4983, allocations: 88.03 kB / 0.5175 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.4995, allocations: 0.5061 MB / 0.518 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5006, allocations: 0.8511 MB / 0.5188 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.5012, allocations: 489.5 kB / 0.5193 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.5055, allocations: 3.527 MB / 0.5227 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5056, allocations: 0 / 0.5227 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5056, allocations: 2.531 kB / 0.5227 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.5057, allocations: 5.031 kB / 0.5227 GB, free: 8.668 MB / 382.1 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.005458/0.5112, allocations: 2.313 MB / 0.525 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.5112, allocations: 9.125 kB / 0.525 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006933/0.5119, allocations: 422.1 kB / 0.5254 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.5134, allocations: 388.4 kB / 0.5258 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.516, allocations: 1.203 MB / 0.5269 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.5162, allocations: 164.4 kB / 0.5271 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/0.5166, allocations: 216.1 kB / 0.5273 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.5307, allocations: 5.697 MB / 0.5329 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.5309, allocations: 11.19 kB / 0.5329 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.5311, allocations: 101 kB / 0.533 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.5322, allocations: 0.7752 MB / 0.5337 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.5423, allocations: 4.387 MB / 0.538 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02726/0.5696, allocations: 17.17 MB / 0.5548 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.574, allocations: 1.246 MB / 0.556 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002632/0.5766, allocations: 2.153 MB / 0.5581 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.5767, allocations: 40.88 kB / 0.5581 GB, free: 4.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 4.218e-06/0.5767, allocations: 4 kB / 0.5581 GB, free: 4.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02254/0.5993, allocations: 5.462 MB / 0.5635 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5994, allocations: 60.41 kB / 0.5635 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.6029, allocations: 1.717 MB / 0.5652 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.603, allocations: 45.7 kB / 0.5653 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.6044, allocations: 1.507 MB / 0.5667 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.6048, allocations: 403.8 kB / 0.5671 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.6049, allocations: 52 kB / 0.5672 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000332/0.6053, allocations: 419.2 kB / 0.5676 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.6066, allocations: 0.7626 MB / 0.5683 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.6091, allocations: 2.211 MB / 0.5705 GB, free: 7.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.6111, allocations: 1.274 MB / 0.5717 GB, free: 6.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/0.6112, allocations: 16 kB / 0.5717 GB, free: 6.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005024/0.6162, allocations: 2.982 MB / 0.5746 GB, free: 3.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.6163, allocations: 24 kB / 0.5747 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/0.6163, allocations: 52 kB / 0.5747 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.043e-05/0.6164, allocations: 76 kB / 0.5748 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.6182, allocations: 0.6007 MB / 0.5754 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-05/0.6183, allocations: 102.2 kB / 0.5755 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.62, allocations: 117.5 kB / 0.5756 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.6202, allocations: 148 kB / 0.5757 GB, free: 2.547 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 340 * 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.002255/0.6225, allocations: 1.135 MB / 0.5768 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.6227, allocations: 157.9 kB / 0.577 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.6231, allocations: 208.9 kB / 0.5772 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6232, allocations: 12.08 kB / 0.5772 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.6232, allocations: 4 kB / 0.5772 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6232, allocations: 3.984 kB / 0.5772 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.6333, allocations: 6.068 MB / 0.5831 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.6334, allocations: 20 kB / 0.5831 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.6341, allocations: 203.7 kB / 0.5833 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-05/0.6341, allocations: 28 kB / 0.5834 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.6342, allocations: 40 kB / 0.5834 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/0.6342, allocations: 43.8 kB / 0.5834 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.537e-05/0.6343, allocations: 32.3 kB / 0.5835 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.6377, allocations: 3.143 MB / 0.5865 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.6383, allocations: 270.8 kB / 0.5868 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.6385, allocations: 47.94 kB / 0.5869 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.6392, allocations: 40 kB / 0.5869 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6393, allocations: 135.5 kB / 0.587 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.6394, allocations: 56 kB / 0.5871 GB, free: 5.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001934/0.6413, allocations: 1.131 MB / 0.5882 GB, free: 4.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6414, allocations: 0 / 0.5882 GB, free: 4.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002548/0.6439, allocations: 464.6 kB / 0.5886 GB, free: 3.961 MB / 430.1 MB 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 () * Number of clocked 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.006109/0.65, allocations: 9.428 MB / 0.5978 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.6533, allocations: 1.759 MB / 0.5995 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/0.6533, allocations: 8.25 kB / 0.5996 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.6541, allocations: 496 kB / 0.6 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6556, allocations: 267.7 kB / 0.6003 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/0.6868, allocations: 43.36 MB / 0.6426 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.6892, allocations: 2.135 MB / 0.6447 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002007/0.6912, allocations: 0.6673 MB / 0.6454 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.6923, allocations: 0.9601 MB / 0.6463 GB, free: 6.652 MB / 494.1 MB Notification: Performance of SimCode: time 1.903e-06/0.6924, allocations: 0 / 0.6463 GB, free: 6.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06631/0.7587, allocations: 34.64 MB / 0.6801 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.7589, allocations: 177.5 kB / 0.6803 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/3.896, allocations: 7.938 kB / 0.6803 GB, free: 3.988 MB / 0.5137 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