Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002537, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3045/0.3045, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004555, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.06481/0.1868, allocations: 40.68 MB / 0.5186 GB, free: 452 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.354/0.5409, allocations: 9.257 MB / 0.5276 GB, free: 9.762 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009644/0.5506, allocations: 190.8 kB / 0.5278 GB, free: 9.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008222/0.5588, allocations: 1.99 MB / 0.5297 GB, free: 9.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02417/0.5831, allocations: 5.521 MB / 0.5351 GB, free: 9.258 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.5869, allocations: 496 kB / 0.5356 GB, free: 9.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.591, allocations: 1.325 MB / 0.5369 GB, free: 8.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.6015, allocations: 5.154 MB / 0.5419 GB, free: 7.418 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.6037, allocations: 0.7583 MB / 0.5427 GB, free: 7.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.606, allocations: 0.9624 MB / 0.5436 GB, free: 6.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007297/0.6068, allocations: 127.1 kB / 0.5437 GB, free: 6.785 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.6088, allocations: 0.5451 MB / 0.5442 GB, free: 6.668 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.6108, allocations: 1.267 MB / 0.5455 GB, free: 6.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.612, allocations: 0.7039 MB / 0.5462 GB, free: 6.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.6191, allocations: 4.921 MB / 0.551 GB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.6192, allocations: 1.594 kB / 0.551 GB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6192, allocations: 0 / 0.551 GB, free: 3.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002256/0.6194, allocations: 0 / 0.551 GB, free: 3.277 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01183/0.6313, allocations: 3.566 MB / 0.5545 GB, free: 1.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.6313, allocations: 9.875 kB / 0.5545 GB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002258/0.6336, allocations: 0.6332 MB / 0.5551 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.6378, allocations: 0.5839 MB / 0.5557 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005859/0.6437, allocations: 1.78 MB / 0.5574 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.644, allocations: 241 kB / 0.5576 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.6455, allocations: 316.8 kB / 0.5579 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02825/0.6738, allocations: 8.791 MB / 0.5665 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.674, allocations: 15.88 kB / 0.5665 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00063/0.6746, allocations: 145.3 kB / 0.5667 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004861/0.6795, allocations: 1.563 MB / 0.5682 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/0.707, allocations: 6.828 MB / 0.5749 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05849/0.7656, allocations: 26.45 MB / 0.6007 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.7769, allocations: 1.965 MB / 0.6026 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.7913, allocations: 6.373 MB / 0.6088 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.7915, allocations: 39.22 kB / 0.6089 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 3.787e-06/0.7915, allocations: 0 / 0.6089 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.03022/0.8217, allocations: 6.238 MB / 0.615 GB, free: 8.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.8219, allocations: 141.5 kB / 0.6151 GB, free: 7.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005802/0.8277, allocations: 2.495 MB / 0.6175 GB, free: 5.434 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.828, allocations: 41.7 kB / 0.6176 GB, free: 5.387 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.8305, allocations: 2.376 MB / 0.6199 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000654/0.8312, allocations: 388.5 kB / 0.6203 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.8315, allocations: 80 kB / 0.6203 GB, free: 2.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/0.8319, allocations: 462.9 kB / 0.6208 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/0.8349, allocations: 0.9481 MB / 0.6217 GB, free: 1.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005286/0.8402, allocations: 3.246 MB / 0.6249 GB, free: 12.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/0.8449, allocations: 1.681 MB / 0.6265 GB, free: 11.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.736e-05/0.845, allocations: 24 kB / 0.6265 GB, free: 11.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.01186/0.8569, allocations: 4.006 MB / 0.6305 GB, free: 7.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/0.857, allocations: 40 kB / 0.6305 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.8572, allocations: 88.09 kB / 0.6306 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.8573, allocations: 120 kB / 0.6307 GB, free: 6.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/0.8629, allocations: 0.8929 MB / 0.6316 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000211/0.8632, allocations: 163.4 kB / 0.6317 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/0.8668, allocations: 169.2 kB / 0.6319 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006344/0.8675, allocations: 232 kB / 0.6321 GB, free: 5.352 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (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 (482): * Single equations (assignments): 482 * 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.004343/0.8718, allocations: 1.585 MB / 0.6337 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006092/0.8725, allocations: 225 kB / 0.6339 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.8757, allocations: 1.13 MB / 0.635 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.8758, allocations: 12 kB / 0.635 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.8758, allocations: 3.984 kB / 0.635 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.8758, allocations: 7.984 kB / 0.635 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.8915, allocations: 5.953 MB / 0.6408 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/0.8916, allocations: 16 kB / 0.6408 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.893, allocations: 221.4 kB / 0.641 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-05/0.8931, allocations: 24 kB / 0.6411 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8932, allocations: 44 kB / 0.6411 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-05/0.8933, allocations: 31.86 kB / 0.6411 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-05/0.8933, allocations: 27.88 kB / 0.6412 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/0.8978, allocations: 3.292 MB / 0.6444 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.8988, allocations: 322 kB / 0.6447 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/0.8992, allocations: 43.98 kB / 0.6447 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9006, allocations: 43.98 kB / 0.6448 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.9008, allocations: 131.5 kB / 0.6449 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.901, allocations: 52 kB / 0.6449 GB, free: 7.301 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004406/0.9054, allocations: 1.62 MB / 0.6465 GB, free: 5.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.9054, allocations: 0 / 0.6465 GB, free: 5.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004909/0.9104, allocations: 0.6445 MB / 0.6471 GB, free: 5.027 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (119): * Single equations (assignments): 119 * 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.006971/0.9174, allocations: 8.297 MB / 0.6552 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006298/0.9237, allocations: 2.265 MB / 0.6575 GB, free: 9.949 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/0.9238, allocations: 4.062 kB / 0.6575 GB, free: 9.945 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.9253, allocations: 0.5183 MB / 0.658 GB, free: 9.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.9276, allocations: 301.2 kB / 0.6583 GB, free: 9.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4144/1.342, allocations: 69.15 MB / 0.7258 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.352, allocations: 2.813 MB / 0.7285 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004951/1.357, allocations: 1.481 MB / 0.73 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.054e-06/1.357, allocations: 0 / 0.73 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.532/4.889, allocations: 56.1 MB / 0.7848 GB, free: 134 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat