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/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.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/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 104.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003639, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3365/0.5039, allocations: 41.5 MB / 0.5109 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.5271, allocations: 8.719 MB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009443/0.5366, allocations: 190.9 kB / 0.5196 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007911/0.5446, allocations: 2.02 MB / 0.5215 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.5628, allocations: 5.636 MB / 0.527 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.5664, allocations: 0.5331 MB / 0.5276 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005076/0.5715, allocations: 2.607 MB / 0.5301 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008336/0.5799, allocations: 5.057 MB / 0.5351 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.582, allocations: 0.826 MB / 0.5359 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.5844, allocations: 1.295 MB / 0.5371 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.5848, allocations: 113.2 kB / 0.5372 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.5864, allocations: 0.5874 MB / 0.5378 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.5877, allocations: 1.21 MB / 0.539 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007783/0.5885, allocations: 0.6104 MB / 0.5396 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004586/0.5931, allocations: 4.508 MB / 0.544 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5931, allocations: 2.188 kB / 0.544 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5932, allocations: 0 / 0.544 GB, free: 1.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.5933, allocations: 0 / 0.544 GB, free: 1.285 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.007194/0.6005, allocations: 3.147 MB / 0.5471 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6006, allocations: 8.781 kB / 0.5471 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/0.602, allocations: 0.5375 MB / 0.5476 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.6043, allocations: 0.5838 MB / 0.5482 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.6077, allocations: 1.714 MB / 0.5498 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.6079, allocations: 206.5 kB / 0.55 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.6084, allocations: 281 kB / 0.5503 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.6245, allocations: 7.618 MB / 0.5577 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/0.6247, allocations: 15.88 kB / 0.5578 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.625, allocations: 119 kB / 0.5579 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.6265, allocations: 1.104 MB / 0.5589 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.6411, allocations: 6.174 MB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03349/0.6747, allocations: 22.92 MB / 0.5874 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006027/0.6807, allocations: 1.862 MB / 0.5892 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.682, allocations: 0.8237 MB / 0.59 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008018/0.69, allocations: 5.866 MB / 0.5957 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.6901, allocations: 43.22 kB / 0.5958 GB, free: 14.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 2.645e-06/0.6901, allocations: 0 / 0.5958 GB, free: 14.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01455/0.7047, allocations: 4.432 MB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.7048, allocations: 64.41 kB / 0.6001 GB, free: 10.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.7082, allocations: 2.267 MB / 0.6024 GB, free: 8.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/0.7083, allocations: 41.7 kB / 0.6024 GB, free: 8.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.71, allocations: 2.045 MB / 0.6044 GB, free: 6.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.7105, allocations: 367.4 kB / 0.6047 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.7106, allocations: 68 kB / 0.6048 GB, free: 5.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002651/0.7109, allocations: 457.1 kB / 0.6052 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.7123, allocations: 0.8811 MB / 0.6061 GB, free: 4.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.7153, allocations: 2.957 MB / 0.609 GB, free: 300 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.7176, allocations: 1.568 MB / 0.6105 GB, free: 14.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.7176, allocations: 20 kB / 0.6105 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006465/0.7241, allocations: 3.747 MB / 0.6142 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.7242, allocations: 36 kB / 0.6142 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.63e-05/0.7243, allocations: 72 kB / 0.6143 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.7244, allocations: 108 kB / 0.6144 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/0.7266, allocations: 0.7914 MB / 0.6152 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.7267, allocations: 143.4 kB / 0.6153 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.7289, allocations: 156 kB / 0.6155 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.7292, allocations: 200 kB / 0.6157 GB, free: 9.457 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (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,jointUSP.prismatic.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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 436 * 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.002632/0.7318, allocations: 1.415 MB / 0.617 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.7321, allocations: 197.5 kB / 0.6172 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.7326, allocations: 237.1 kB / 0.6175 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.7327, allocations: 16 kB / 0.6175 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7327, allocations: 0 / 0.6175 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.7327, allocations: 7.922 kB / 0.6175 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.7414, allocations: 5.347 MB / 0.6227 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.7414, allocations: 20 kB / 0.6227 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.7421, allocations: 219.6 kB / 0.6229 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.619e-05/0.7421, allocations: 28 kB / 0.623 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.7422, allocations: 40 kB / 0.623 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-05/0.7422, allocations: 39.86 kB / 0.623 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/0.7422, allocations: 27.88 kB / 0.6231 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.7444, allocations: 1.71 MB / 0.6247 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.7451, allocations: 306.2 kB / 0.625 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.7453, allocations: 47.98 kB / 0.6251 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.7459, allocations: 43.98 kB / 0.6251 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7461, allocations: 147.4 kB / 0.6252 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.7462, allocations: 52 kB / 0.6253 GB, free: 14.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002269/0.7484, allocations: 1.462 MB / 0.6267 GB, free: 13.47 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7484, allocations: 0 / 0.6267 GB, free: 13.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002958/0.7514, allocations: 0.5663 MB / 0.6273 GB, free: 12.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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 (118): * Single equations (assignments): 118 * 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.002698/0.7541, allocations: 2.333 MB / 0.6296 GB, free: 10.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.758, allocations: 2.086 MB / 0.6316 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.7581, allocations: 8.938 kB / 0.6316 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.7588, allocations: 0.4951 MB / 0.6321 GB, free: 7.707 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.7608, allocations: 341.4 kB / 0.6324 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03613/0.797, allocations: 18.26 MB / 0.6502 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/0.7999, allocations: 2.46 MB / 0.6526 GB, free: 400 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00279/0.8028, allocations: 0.9061 MB / 0.6535 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/0.8044, allocations: 1.241 MB / 0.6547 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/0.8044, allocations: 0 / 0.6547 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/0.8801, allocations: 43.21 MB / 0.6969 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.8803, allocations: 179.3 kB / 0.6971 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.632, allocations: 0 / 0.6971 GB, free: 3.027 MB / 0.5294 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