Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",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.001503/0.001503, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001131/0.001131, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2839/0.2839, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.48e-05, allocations: 7.984 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 58.87 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5001/0.6171, allocations: 102.3 MB / 0.5728 GB, free: 1.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6175, allocations: 77.06 kB / 0.5729 GB, free: 1.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3867/1.004, allocations: 86.56 MB / 0.6574 GB, free: 2.629 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.769e-06/1.004, allocations: 3.984 kB / 0.6574 GB, free: 2.625 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002002/1.004, allocations: 72 kB / 0.6575 GB, free: 2.555 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01445/1.019, allocations: 3.671 MB / 0.661 GB, free: 14.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.019, allocations: 12.03 kB / 0.6611 GB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003818/1.023, allocations: 0.7874 MB / 0.6618 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/1.051, allocations: 3.512 MB / 0.6653 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.068, allocations: 4.163 MB / 0.6693 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/1.069, allocations: 299.7 kB / 0.6696 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0027/1.072, allocations: 387.8 kB / 0.67 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/1.106, allocations: 10.23 MB / 0.68 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/1.106, allocations: 27.72 kB / 0.68 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/1.109, allocations: 175.9 kB / 0.6802 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/1.112, allocations: 1.215 MB / 0.6813 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/1.144, allocations: 9.867 MB / 0.691 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4923/1.636, allocations: 35.56 MB / 0.7257 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/1.652, allocations: 4.93 MB / 0.7305 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005317/1.657, allocations: 2.279 MB / 0.7328 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/1.66, allocations: 1.882 MB / 0.7346 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.66, allocations: 56.86 kB / 0.7346 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.312e-06/1.66, allocations: 0 / 0.7346 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.04195/1.702, allocations: 11.25 MB / 0.7456 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/1.702, allocations: 74.53 kB / 0.7457 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/1.707, allocations: 2.37 MB / 0.748 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005326/1.707, allocations: 54.52 kB / 0.7481 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.709, allocations: 2.703 MB / 0.7507 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.71, allocations: 0.8542 MB / 0.7515 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/1.711, allocations: 102.8 kB / 0.7516 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003452/1.711, allocations: 0.5347 MB / 0.7522 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004909/1.716, allocations: 2.144 MB / 0.7543 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006845/1.723, allocations: 5.052 MB / 0.7592 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/1.73, allocations: 3.324 MB / 0.7624 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.635e-05/1.73, allocations: 29.81 kB / 0.7625 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02047/1.751, allocations: 7.733 MB / 0.77 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/1.751, allocations: 50.59 kB / 0.7701 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.751, allocations: 99.66 kB / 0.7702 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003827/1.755, allocations: 0.8029 MB / 0.7709 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007609/1.762, allocations: 1.199 MB / 0.7721 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/1.771, allocations: 4.14 MB / 0.7762 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/1.776, allocations: 296.5 kB / 0.7764 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.777, allocations: 303.1 kB / 0.7767 GB, free: 91.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 632 * Array equations: 6 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.778, allocations: 496.2 kB / 0.7772 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/1.779, allocations: 270 kB / 0.7775 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.791, allocations: 4.675 MB / 0.782 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/1.792, allocations: 46.66 kB / 0.7821 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.792, allocations: 3.375 kB / 0.7821 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/1.792, allocations: 7.828 kB / 0.7821 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/1.82, allocations: 10.59 MB / 0.7924 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/1.82, allocations: 9.031 kB / 0.7924 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/1.823, allocations: 366.2 kB / 0.7928 GB, free: 85.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003495/1.826, allocations: 0.6562 MB / 0.7934 GB, free: 85.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.827, allocations: 41.02 kB / 0.7935 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006915/1.834, allocations: 3.587 MB / 0.797 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.834, allocations: 14.66 kB / 0.797 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.85, allocations: 7.62 MB / 0.8044 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/1.853, allocations: 0.6545 MB / 0.8051 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/1.854, allocations: 36.89 kB / 0.8051 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.857, allocations: 138.5 kB / 0.8052 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/1.857, allocations: 132.1 kB / 0.8054 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.858, allocations: 69.47 kB / 0.8054 GB, free: 77.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003324/1.861, allocations: 1.608 MB / 0.807 GB, free: 76.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.42e-07/1.861, allocations: 0 / 0.807 GB, free: 76.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005838/1.867, allocations: 0.9499 MB / 0.8079 GB, free: 75.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01648/1.883, allocations: 10.04 MB / 0.8177 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.894, allocations: 5.272 MB / 0.8229 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.894, allocations: 0 / 0.8229 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003971/1.898, allocations: 2.009 MB / 0.8248 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/1.901, allocations: 318.2 kB / 0.8251 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.926, allocations: 9.795 MB / 0.8347 GB, free: 50.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004843/1.931, allocations: 3.33 MB / 0.838 GB, free: 47.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003811/1.934, allocations: 1.825 MB / 0.8397 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/1.934, allocations: 0 / 0.8397 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.506/6.441, allocations: 92.34 MB / 0.9299 GB, free: 131.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat