Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",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.001067/0.001067, allocations: 184.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001182/0.001182, allocations: 94.86 kB / 270.2 MB, free: 13.36 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.2309/0.2309, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003737, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.614, allocations: 105.4 MB / 0.5818 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.6145, allocations: 80.78 kB / 0.5819 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3351/0.9496, allocations: 128.9 MB / 0.7078 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9496, allocations: 0 / 0.7078 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003382/0.95, allocations: 120 kB / 0.7079 GB, free: 0.9844 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.3572/1.307, allocations: 6.687 MB / 0.7145 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/1.307, allocations: 10.33 kB / 0.7145 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00652/1.314, allocations: 1.096 MB / 0.7155 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/1.344, allocations: 6.449 MB / 0.7218 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02681/1.371, allocations: 8.619 MB / 0.7302 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/1.372, allocations: 436.5 kB / 0.7307 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004385/1.376, allocations: 0.5787 MB / 0.7312 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04031/1.416, allocations: 15.44 MB / 0.7463 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004351/1.417, allocations: 61.73 kB / 0.7464 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003046/1.42, allocations: 264.9 kB / 0.7466 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002552/1.423, allocations: 1.687 MB / 0.7483 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/1.452, allocations: 14.85 MB / 0.7628 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08051/1.532, allocations: 56.37 MB / 0.8178 GB, free: 66.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.549, allocations: 8.011 MB / 0.8256 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/1.551, allocations: 2.211 MB / 0.8278 GB, free: 57.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.551, allocations: 68.45 kB / 0.8279 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 7.354e-06/1.551, allocations: 0 / 0.8279 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.09239/1.643, allocations: 39.69 MB / 0.8666 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/1.644, allocations: 116 kB / 0.8667 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/1.649, allocations: 3.883 MB / 0.8705 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009132/1.65, allocations: 85.06 kB / 0.8706 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.652, allocations: 3.919 MB / 0.8744 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.654, allocations: 1.489 MB / 0.8759 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/1.654, allocations: 154.3 kB / 0.876 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003195/1.654, allocations: 0.6366 MB / 0.8766 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.659, allocations: 3.888 MB / 0.8804 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/1.666, allocations: 7.7 MB / 0.888 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008325/1.674, allocations: 5.436 MB / 0.8933 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.674, allocations: 36 kB / 0.8933 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.3676/2.042, allocations: 14.09 MB / 0.9071 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/2.042, allocations: 64.06 kB / 0.9071 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000289/2.042, allocations: 130.5 kB / 0.9073 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009233/2.052, allocations: 2.636 MB / 0.9098 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008678/2.06, allocations: 1.947 MB / 0.9117 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/2.08, allocations: 14.07 MB / 0.9255 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007954/2.088, allocations: 487.4 kB / 0.9259 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.09, allocations: 431.4 kB / 0.9263 GB, free: 102.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (923): * Single equations (assignments): 915 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008336/2.098, allocations: 2.915 MB / 0.9292 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/2.1, allocations: 468.6 kB / 0.9296 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/2.119, allocations: 10.43 MB / 0.9398 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.323e-05/2.119, allocations: 63.72 kB / 0.9399 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/2.119, allocations: 13.27 kB / 0.9399 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.045e-05/2.119, allocations: 18.75 kB / 0.9399 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03897/2.158, allocations: 21.06 MB / 0.9605 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-05/2.158, allocations: 10.56 kB / 0.9605 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/2.162, allocations: 0.7861 MB / 0.9613 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007882/2.17, allocations: 2.414 MB / 0.9636 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001705/2.172, allocations: 78.55 kB / 0.9637 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/2.188, allocations: 12.82 MB / 0.9762 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/2.188, allocations: 28.33 kB / 0.9762 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/2.211, allocations: 16.24 MB / 0.9921 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004916/2.216, allocations: 1.152 MB / 0.9932 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/2.218, allocations: 78.7 kB / 0.9933 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003904/2.222, allocations: 298.6 kB / 0.9936 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.223, allocations: 262.2 kB / 0.9938 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003671/2.223, allocations: 113.9 kB / 0.9939 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005514/2.229, allocations: 2.721 MB / 0.9966 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/2.229, allocations: 0 / 0.9966 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00975/2.238, allocations: 1.659 MB / 0.9982 GB, free: 82.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/2.262, allocations: 19.46 MB / 1.017 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0169/2.279, allocations: 9.728 MB / 1.027 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/2.279, allocations: 7.562 kB / 1.027 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006761/2.286, allocations: 4.244 MB / 1.031 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/2.29, allocations: 0.6413 MB / 1.031 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4134/2.704, allocations: 145.1 MB / 1.173 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005458/2.709, allocations: 4.75 MB / 1.178 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006684/2.716, allocations: 2.738 MB / 1.181 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005108/2.721, allocations: 2.915 MB / 1.183 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/2.721, allocations: 0 / 1.183 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4919/3.213, allocations: 122.1 MB / 1.303 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/3.213, allocations: 196.6 kB / 1.303 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.779/8.992, allocations: 0.625 kB / 1.303 GB, free: 104.3 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat