Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR",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.002377/0.002383, allocations: 188 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.112/2.112, 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.001148/0.001148, allocations: 106.8 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.2854/0.2854, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1564, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.429/0.5855, allocations: 45.05 MB / 0.5228 GB, free: 9.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.6204, allocations: 10.38 MB / 0.533 GB, free: 9.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.6317, allocations: 210.9 kB / 0.5332 GB, free: 9.516 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008673/0.6404, allocations: 2.188 MB / 0.5353 GB, free: 9.098 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02479/0.6653, allocations: 6.051 MB / 0.5412 GB, free: 8.188 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.6699, allocations: 0.6406 MB / 0.5418 GB, free: 8.012 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.6742, allocations: 1.46 MB / 0.5433 GB, free: 7.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.6868, allocations: 6.423 MB / 0.5495 GB, free: 5.898 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.689, allocations: 0.8269 MB / 0.5503 GB, free: 5.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.6917, allocations: 1.093 MB / 0.5514 GB, free: 5.199 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.6924, allocations: 154.1 kB / 0.5516 GB, free: 5.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.6947, allocations: 0.6827 MB / 0.5522 GB, free: 5.051 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.6969, allocations: 1.407 MB / 0.5536 GB, free: 4.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.6982, allocations: 0.777 MB / 0.5544 GB, free: 4.441 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.7067, allocations: 6.186 MB / 0.5604 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7067, allocations: 0 / 0.5604 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7067, allocations: 1.859 kB / 0.5604 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002399/0.707, allocations: 2.094 kB / 0.5604 GB, free: 0.8125 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01546/0.7225, allocations: 4.127 MB / 0.5644 GB, free: 14.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.7226, allocations: 12.03 kB / 0.5644 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003876/0.7265, allocations: 0.6804 MB / 0.5651 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009874/0.7364, allocations: 0.6733 MB / 0.5658 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.7486, allocations: 2.248 MB / 0.568 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/0.7492, allocations: 261.4 kB / 0.5682 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.7518, allocations: 361 kB / 0.5686 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05899/0.8108, allocations: 10.73 MB / 0.579 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.8111, allocations: 25.19 kB / 0.5791 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/0.813, allocations: 159.5 kB / 0.5792 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007973/0.821, allocations: 1.636 MB / 0.5808 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05827/0.8794, allocations: 9.413 MB / 0.59 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09346/0.9729, allocations: 30.83 MB / 0.6201 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/0.9914, allocations: 3.133 MB / 0.6232 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/1.015, allocations: 9.389 MB / 0.6323 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/1.015, allocations: 50.38 kB / 0.6324 GB, free: 7.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 4.188e-06/1.015, allocations: 0 / 0.6324 GB, free: 7.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.05087/1.066, allocations: 8.994 MB / 0.6412 GB, free: 14.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/1.066, allocations: 115.8 kB / 0.6413 GB, free: 14.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/1.073, allocations: 2.867 MB / 0.6441 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003486/1.073, allocations: 45.7 kB / 0.6441 GB, free: 11.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002823/1.076, allocations: 2.478 MB / 0.6465 GB, free: 9.043 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/1.077, allocations: 436.8 kB / 0.647 GB, free: 8.621 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005431/1.078, allocations: 84.06 kB / 0.647 GB, free: 8.539 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004489/1.078, allocations: 479.7 kB / 0.6475 GB, free: 8.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/1.083, allocations: 1.476 MB / 0.6489 GB, free: 6.574 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/1.09, allocations: 3.801 MB / 0.6526 GB, free: 1.594 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006391/1.096, allocations: 2.262 MB / 0.6549 GB, free: 15.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.873e-05/1.096, allocations: 24 kB / 0.6549 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01557/1.112, allocations: 5.157 MB / 0.6599 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.112, allocations: 44 kB / 0.66 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.112, allocations: 83.98 kB / 0.66 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/1.112, allocations: 124 kB / 0.6602 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007187/1.12, allocations: 0.9942 MB / 0.6611 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002224/1.12, allocations: 163.4 kB / 0.6613 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.125, allocations: 235.8 kB / 0.6615 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009625/1.126, allocations: 240.1 kB / 0.6617 GB, free: 8.277 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (524): * Single equations (assignments): 523 * Array equations: 1 * 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.005176/1.131, allocations: 1.762 MB / 0.6635 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/1.131, allocations: 244.8 kB / 0.6637 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/1.139, allocations: 2.061 MB / 0.6657 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/1.139, allocations: 16 kB / 0.6657 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.139, allocations: 3.984 kB / 0.6657 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/1.139, allocations: 3.984 kB / 0.6657 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.158, allocations: 6.652 MB / 0.6722 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.158, allocations: 12 kB / 0.6722 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.16, allocations: 259.7 kB / 0.6725 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.613e-05/1.16, allocations: 20 kB / 0.6725 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1.16, allocations: 43.98 kB / 0.6725 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.084e-05/1.16, allocations: 23.94 kB / 0.6726 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-05/1.16, allocations: 19.88 kB / 0.6726 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/1.166, allocations: 3.525 MB / 0.676 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.167, allocations: 341.8 kB / 0.6764 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006549/1.168, allocations: 43.98 kB / 0.6764 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.17, allocations: 67.94 kB / 0.6765 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/1.17, allocations: 120.2 kB / 0.6766 GB, free: 8.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.171, allocations: 48 kB / 0.6766 GB, free: 8.344 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00524/1.176, allocations: 1.827 MB / 0.6784 GB, free: 6.512 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.512e-06/1.176, allocations: 4 kB / 0.6784 GB, free: 6.508 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005733/1.182, allocations: 0.746 MB / 0.6791 GB, free: 5.762 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.008225/1.19, allocations: 7.574 MB / 0.6865 GB, free: 13.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008193/1.198, allocations: 3.176 MB / 0.6896 GB, free: 10.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/1.198, allocations: 0 / 0.6896 GB, free: 10.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.2, allocations: 0.8065 MB / 0.6904 GB, free: 9.797 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.203, allocations: 301.6 kB / 0.6907 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3772/1.58, allocations: 70.14 MB / 0.7592 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007219/1.587, allocations: 3.025 MB / 0.7622 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004096/1.591, allocations: 1.634 MB / 0.7638 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.875e-06/1.591, allocations: 0 / 0.7638 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.723/5.315, allocations: 63.84 MB / 0.8261 GB, free: 94.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat