Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 95.56 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 199.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, 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.2462/0.2462, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002951, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 63.47 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3298/0.4675, allocations: 39.26 MB / 0.5086 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.4886, allocations: 9.297 MB / 0.5177 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009264/0.4979, allocations: 187 kB / 0.5178 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008662/0.5066, allocations: 1.95 MB / 0.5197 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02302/0.5297, allocations: 5.411 MB / 0.525 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.5333, allocations: 0.6297 MB / 0.5256 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.5366, allocations: 1.16 MB / 0.5268 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006832/0.5434, allocations: 5.034 MB / 0.5317 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.5448, allocations: 0.6966 MB / 0.5324 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.546, allocations: 0.9179 MB / 0.5333 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.5463, allocations: 116.7 kB / 0.5334 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5479, allocations: 0.6836 MB / 0.534 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.549, allocations: 1.135 MB / 0.5352 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.5497, allocations: 0.6137 MB / 0.5358 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.554, allocations: 4.618 MB / 0.5403 GB, free: 2.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.554, allocations: 0 / 0.5403 GB, free: 2.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.554, allocations: 0 / 0.5403 GB, free: 2.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.5542, allocations: 1.938 kB / 0.5403 GB, free: 2.977 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.008782/0.563, allocations: 3.444 MB / 0.5436 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.563, allocations: 8.219 kB / 0.5436 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001968/0.565, allocations: 0.5347 MB / 0.5442 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.5679, allocations: 0.649 MB / 0.5448 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.5733, allocations: 1.764 MB / 0.5465 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5735, allocations: 217.6 kB / 0.5467 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.5746, allocations: 272.8 kB / 0.547 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5941, allocations: 8.351 MB / 0.5551 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.5942, allocations: 15.88 kB / 0.5552 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.5947, allocations: 118.2 kB / 0.5553 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001631/0.5963, allocations: 1.13 MB / 0.5564 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.6134, allocations: 7.151 MB / 0.5634 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03699/0.6504, allocations: 24.84 MB / 0.5876 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.6578, allocations: 2.298 MB / 0.5899 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009889/0.6677, allocations: 7.256 MB / 0.5969 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6678, allocations: 43.22 kB / 0.597 GB, free: 13.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.507e-06/0.6678, allocations: 0 / 0.597 GB, free: 13.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01778/0.6856, allocations: 5.407 MB / 0.6023 GB, free: 8.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.6857, allocations: 72.33 kB / 0.6023 GB, free: 7.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.6897, allocations: 2.388 MB / 0.6047 GB, free: 5.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.6901, allocations: 41.7 kB / 0.6047 GB, free: 5.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.692, allocations: 2.071 MB / 0.6067 GB, free: 3.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.6926, allocations: 378.9 kB / 0.6071 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.6928, allocations: 72 kB / 0.6072 GB, free: 2.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.6931, allocations: 449.5 kB / 0.6076 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.6949, allocations: 1.018 MB / 0.6086 GB, free: 1.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.6979, allocations: 3.162 MB / 0.6117 GB, free: 13.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.7007, allocations: 1.724 MB / 0.6133 GB, free: 11.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/0.7008, allocations: 20 kB / 0.6134 GB, free: 11.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006605/0.7074, allocations: 4.086 MB / 0.6174 GB, free: 7.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.7075, allocations: 47.92 kB / 0.6174 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.573e-05/0.7076, allocations: 80.86 kB / 0.6175 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.7077, allocations: 112 kB / 0.6176 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.7101, allocations: 0.8422 MB / 0.6184 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.7102, allocations: 151.4 kB / 0.6186 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.7125, allocations: 179.8 kB / 0.6187 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.7128, allocations: 208 kB / 0.6189 GB, free: 5.848 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 349 * Number of states: 0 () * Number of discrete variables: 53 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (452): * Single equations (assignments): 452 * 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.002711/0.7155, allocations: 1.434 MB / 0.6203 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.7159, allocations: 209.3 kB / 0.6205 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.718, allocations: 1.398 MB / 0.6219 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7181, allocations: 19.89 kB / 0.6219 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7181, allocations: 3.984 kB / 0.6219 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.7181, allocations: 7.984 kB / 0.6219 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/0.726, allocations: 5.27 MB / 0.6271 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.7261, allocations: 16 kB / 0.6271 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.7268, allocations: 223.6 kB / 0.6273 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.7268, allocations: 20 kB / 0.6273 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.7269, allocations: 40 kB / 0.6274 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.377e-05/0.7269, allocations: 31.86 kB / 0.6274 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.727, allocations: 19.94 kB / 0.6274 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.7295, allocations: 3.062 MB / 0.6304 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.7301, allocations: 306.2 kB / 0.6307 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.7303, allocations: 43.98 kB / 0.6307 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.731, allocations: 43.98 kB / 0.6308 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7311, allocations: 120.1 kB / 0.6309 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.7312, allocations: 44 kB / 0.6309 GB, free: 8.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.7332, allocations: 1.514 MB / 0.6324 GB, free: 7.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7332, allocations: 0 / 0.6324 GB, free: 7.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00274/0.736, allocations: 0.5976 MB / 0.633 GB, free: 6.555 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (121): * Single equations (assignments): 121 * 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.003848/0.7398, allocations: 7.596 MB / 0.6404 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.7437, allocations: 2.342 MB / 0.6427 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.7437, allocations: 4 kB / 0.6427 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.7445, allocations: 0.5648 MB / 0.6432 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.7461, allocations: 318.7 kB / 0.6436 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/0.781, allocations: 63.46 MB / 0.7055 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/0.7836, allocations: 2.52 MB / 0.708 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002582/0.7862, allocations: 0.9532 MB / 0.7089 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.7878, allocations: 1.237 MB / 0.7101 GB, free: 5.109 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.7878, allocations: 0 / 0.7101 GB, free: 5.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3013/1.089, allocations: 44.96 MB / 0.754 GB, free: 181.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/1.089, allocations: 165.7 kB / 0.7542 GB, free: 181 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.075, allocations: 4 kB / 0.7542 GB, free: 181 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat