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.001388/0.001387, allocations: 95.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 63.47 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.348/0.4957, allocations: 41.26 MB / 0.5105 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02554/0.5212, allocations: 10.55 MB / 0.5208 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.533, allocations: 205.2 kB / 0.521 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.5447, allocations: 2.015 MB / 0.523 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02476/0.5695, allocations: 5.903 MB / 0.5288 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.5754, allocations: 0.9558 MB / 0.5297 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03828/0.6137, allocations: 25.8 MB / 0.5549 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.6242, allocations: 6.236 MB / 0.561 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.6271, allocations: 1.39 MB / 0.5623 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.6298, allocations: 1.889 MB / 0.5642 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.6304, allocations: 205.8 kB / 0.5644 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.6329, allocations: 1.165 MB / 0.5655 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.635, allocations: 2.104 MB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.6363, allocations: 1.092 MB / 0.5686 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.6464, allocations: 7.875 MB / 0.5763 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6464, allocations: 0 / 0.5763 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6464, allocations: 0 / 0.5763 GB, free: 6.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003824/0.6468, allocations: 0 / 0.5763 GB, free: 6.207 MB / 414.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.01786/0.6647, allocations: 5.744 MB / 0.5819 GB, free: 396 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.6648, allocations: 8.031 kB / 0.5819 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003599/0.6684, allocations: 0.9175 MB / 0.5828 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08435/0.7527, allocations: 8.665 MB / 0.5913 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.763, allocations: 3.814 MB / 0.595 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.7634, allocations: 349.9 kB / 0.5954 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.765, allocations: 435.6 kB / 0.5958 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02951/0.7945, allocations: 13.98 MB / 0.6094 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.7947, allocations: 51.52 kB / 0.6095 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005969/0.7953, allocations: 207.8 kB / 0.6097 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00378/0.7991, allocations: 2.402 MB / 0.612 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.8257, allocations: 11.83 MB / 0.6236 GB, free: 4.777 MB / 462.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.079/0.9048, allocations: 51.64 MB / 0.674 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.9177, allocations: 4.701 MB / 0.6786 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.9393, allocations: 12.55 MB / 0.6908 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.9394, allocations: 55.88 kB / 0.6909 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 4.759e-06/0.9394, allocations: 3.938 kB / 0.6909 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.487/1.426, allocations: 42.35 MB / 0.7323 GB, free: 191.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/1.427, allocations: 234.2 kB / 0.7325 GB, free: 191.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.438, allocations: 5.005 MB / 0.7374 GB, free: 189.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007812/1.439, allocations: 62.98 kB / 0.7374 GB, free: 189.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.442, allocations: 3.901 MB / 0.7412 GB, free: 186.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.444, allocations: 0.9167 MB / 0.7421 GB, free: 186 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/1.444, allocations: 145 kB / 0.7423 GB, free: 185.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003652/1.444, allocations: 0.6125 MB / 0.7429 GB, free: 185.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005087/1.45, allocations: 3.235 MB / 0.746 GB, free: 184.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006812/1.456, allocations: 7.49 MB / 0.7533 GB, free: 177.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/1.463, allocations: 4.768 MB / 0.758 GB, free: 175.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.317e-05/1.463, allocations: 42.62 kB / 0.758 GB, free: 175.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02686/1.49, allocations: 13.8 MB / 0.7715 GB, free: 167 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/1.49, allocations: 68 kB / 0.7716 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003474/1.49, allocations: 152 kB / 0.7717 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/1.502, allocations: 3.803 MB / 0.7754 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005668/1.508, allocations: 1.591 MB / 0.777 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/1.532, allocations: 18.59 MB / 0.7951 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008183/1.54, allocations: 451.4 kB / 0.7956 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.542, allocations: 432 kB / 0.796 GB, free: 141.8 MB / 0.545 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.006991/1.549, allocations: 2.662 MB / 0.7986 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.551, allocations: 434.4 kB / 0.799 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.569, allocations: 8.123 MB / 0.8069 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/1.569, allocations: 24 kB / 0.807 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/1.569, allocations: 15.95 kB / 0.807 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-05/1.569, allocations: 19.95 kB / 0.807 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03679/1.606, allocations: 17.51 MB / 0.8241 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/1.606, allocations: 7.922 kB / 0.8241 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.608, allocations: 391.4 kB / 0.8245 GB, free: 112.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/1.619, allocations: 3.833 MB / 0.8282 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005721/1.619, allocations: 36.94 kB / 0.8283 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/1.64, allocations: 17.03 MB / 0.8449 GB, free: 91.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.64, allocations: 0 / 0.8449 GB, free: 91.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/1.661, allocations: 12.64 MB / 0.8572 GB, free: 78.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/1.663, allocations: 483.3 kB / 0.8577 GB, free: 78.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.665, allocations: 35.84 kB / 0.8577 GB, free: 78.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.668, allocations: 208.5 kB / 0.8579 GB, free: 78.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/1.669, allocations: 162.2 kB / 0.8581 GB, free: 77.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.669, allocations: 56.62 kB / 0.8581 GB, free: 77.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004795/1.674, allocations: 3.163 MB / 0.8612 GB, free: 74.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.674, allocations: 0 / 0.8612 GB, free: 74.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008392/1.682, allocations: 1.459 MB / 0.8626 GB, free: 73.29 MB / 0.545 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.02176/1.704, allocations: 13.52 MB / 0.8759 GB, free: 59.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.716, allocations: 7.856 MB / 0.8835 GB, free: 51.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.716, allocations: 0.75 kB / 0.8835 GB, free: 51.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/1.719, allocations: 2.972 MB / 0.8864 GB, free: 48.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/1.722, allocations: 0.494 MB / 0.8869 GB, free: 48.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3231/2.046, allocations: 127.8 MB / 1.012 GB, free: 102.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007019/2.053, allocations: 4.204 MB / 1.016 GB, free: 101.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007466/2.06, allocations: 2.176 MB / 1.018 GB, free: 101.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004307/2.064, allocations: 2.49 MB / 1.02 GB, free: 101.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/2.064, allocations: 1.375 kB / 1.02 GB, free: 101.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/2.229, allocations: 109.9 MB / 1.128 GB, free: 9.016 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.229, allocations: 195.3 kB / 1.128 GB, free: 8.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.846/7.075, allocations: 0 / 1.128 GB, free: 8.773 MB / 0.545 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