Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009474/0.0009478, allocations: 100.2 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 193.8 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.3 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003064, allocations: 8 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3493/0.4894, allocations: 43.67 MB / 0.513 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02736/0.5168, allocations: 10.14 MB / 0.5229 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/0.5285, allocations: 211.6 kB / 0.5231 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009393/0.5379, allocations: 2.233 MB / 0.5253 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02484/0.5628, allocations: 6.783 MB / 0.5319 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0048/0.5676, allocations: 0.9756 MB / 0.5329 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04443/0.612, allocations: 34.19 MB / 0.5663 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.6241, allocations: 6.283 MB / 0.5724 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.629, allocations: 1.705 MB / 0.5741 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.6347, allocations: 2.664 MB / 0.5767 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.6367, allocations: 200 kB / 0.5768 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.642, allocations: 1.198 MB / 0.578 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00475/0.6468, allocations: 2.271 MB / 0.5802 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.6499, allocations: 1.096 MB / 0.5813 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.6615, allocations: 7.871 MB / 0.589 GB, free: 10.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6616, allocations: 4 kB / 0.589 GB, free: 10.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.6616, allocations: 0 / 0.589 GB, free: 10.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004313/0.6621, allocations: 0 / 0.589 GB, free: 10.16 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01644/0.6785, allocations: 5.588 MB / 0.5944 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6786, allocations: 12.03 kB / 0.5945 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003736/0.6823, allocations: 0.9175 MB / 0.5954 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07024/0.7526, allocations: 7.596 MB / 0.6028 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.7637, allocations: 4.017 MB / 0.6067 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.7642, allocations: 345.9 kB / 0.607 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002097/0.7664, allocations: 435.6 kB / 0.6074 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/0.7993, allocations: 13.78 MB / 0.6209 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/0.7997, allocations: 55.52 kB / 0.621 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/0.8012, allocations: 199.8 kB / 0.6211 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003822/0.805, allocations: 2.414 MB / 0.6235 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02716/0.8322, allocations: 11.6 MB / 0.6348 GB, free: 10.17 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07802/0.9103, allocations: 51.31 MB / 0.6849 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/0.9229, allocations: 4.669 MB / 0.6895 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/0.9273, allocations: 2.772 MB / 0.6922 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/0.9478, allocations: 12.42 MB / 0.7043 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.9479, allocations: 63.81 kB / 0.7044 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 6.452e-06/0.9479, allocations: 0 / 0.7044 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.4619/1.41, allocations: 42.12 MB / 0.7455 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.41, allocations: 231.6 kB / 0.7457 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007792/1.418, allocations: 4.774 MB / 0.7504 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/1.418, allocations: 62.56 kB / 0.7505 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.421, allocations: 3.9 MB / 0.7543 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.422, allocations: 0.9176 MB / 0.7552 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000659/1.423, allocations: 150 kB / 0.7553 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003968/1.423, allocations: 0.6039 MB / 0.7559 GB, free: 155 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/1.427, allocations: 3.231 MB / 0.7591 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/1.433, allocations: 7.525 MB / 0.7664 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005902/1.439, allocations: 4.773 MB / 0.7711 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.108e-05/1.439, allocations: 40 kB / 0.7711 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02402/1.463, allocations: 13.8 MB / 0.7846 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.463, allocations: 68 kB / 0.7847 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/1.464, allocations: 152 kB / 0.7848 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009774/1.473, allocations: 3.799 MB / 0.7885 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004953/1.478, allocations: 1.599 MB / 0.7901 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/1.501, allocations: 18.02 MB / 0.8077 GB, free: 99.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.508, allocations: 451.9 kB / 0.8081 GB, free: 99.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.51, allocations: 432.6 kB / 0.8085 GB, free: 98.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005563/1.516, allocations: 2.654 MB / 0.8111 GB, free: 96.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.517, allocations: 434.4 kB / 0.8115 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.533, allocations: 8.127 MB / 0.8195 GB, free: 87.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/1.533, allocations: 24 kB / 0.8195 GB, free: 87.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.533, allocations: 12 kB / 0.8195 GB, free: 87.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/1.533, allocations: 15.92 kB / 0.8195 GB, free: 87.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03582/1.569, allocations: 17.35 MB / 0.8364 GB, free: 70.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.092e-05/1.569, allocations: 0 / 0.8364 GB, free: 70.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.571, allocations: 391.4 kB / 0.8368 GB, free: 69.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009914/1.581, allocations: 3.835 MB / 0.8406 GB, free: 65.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000534/1.582, allocations: 45.16 kB / 0.8406 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02049/1.602, allocations: 16.44 MB / 0.8567 GB, free: 49.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.602, allocations: 4.031 kB / 0.8567 GB, free: 49.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/1.624, allocations: 12.51 MB / 0.8689 GB, free: 36.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.626, allocations: 475.1 kB / 0.8693 GB, free: 36.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/1.627, allocations: 39.95 kB / 0.8694 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.631, allocations: 208.4 kB / 0.8696 GB, free: 36.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008463/1.632, allocations: 146.2 kB / 0.8697 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004287/1.632, allocations: 57.48 kB / 0.8698 GB, free: 35.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006299/1.638, allocations: 2.983 MB / 0.8727 GB, free: 32.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.638, allocations: 0 / 0.8727 GB, free: 32.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008689/1.647, allocations: 1.441 MB / 0.8741 GB, free: 31.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02245/1.67, allocations: 13.21 MB / 0.887 GB, free: 18.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.682, allocations: 7.863 MB / 0.8947 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.682, allocations: 0 / 0.8947 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004791/1.687, allocations: 2.971 MB / 0.8976 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/1.692, allocations: 0.5136 MB / 0.8981 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4064/2.098, allocations: 50.08 MB / 0.947 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007016/2.105, allocations: 4.094 MB / 0.951 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007926/2.113, allocations: 2.174 MB / 0.9531 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005443/2.119, allocations: 2.475 MB / 0.9555 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/2.119, allocations: 0 / 0.9555 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/2.341, allocations: 110.3 MB / 1.063 GB, free: 29.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/2.342, allocations: 192.2 kB / 1.063 GB, free: 29.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.789/7.131, allocations: 0 / 1.063 GB, free: 29.73 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat