Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical",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.001621/0.001621, allocations: 181.4 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.133/2.133, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001105/0.001105, allocations: 86.72 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.297/0.297, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.441e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5406/0.6705, allocations: 101.6 MB / 0.5721 GB, free: 1.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6708, allocations: 75 kB / 0.5722 GB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3679/1.039, allocations: 83.66 MB / 0.6539 GB, free: 6.148 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.039, allocations: 0 / 0.6539 GB, free: 6.148 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002348/1.039, allocations: 67.98 kB / 0.654 GB, free: 6.082 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.02307/1.062, allocations: 3.864 MB / 0.6577 GB, free: 2.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/1.062, allocations: 12.03 kB / 0.6577 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004149/1.066, allocations: 0.7538 MB / 0.6585 GB, free: 1.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04366/1.11, allocations: 5.883 MB / 0.6642 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/1.134, allocations: 5.309 MB / 0.6694 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004793/1.134, allocations: 287.2 kB / 0.6697 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/1.137, allocations: 375.7 kB / 0.67 GB, free: 5.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03738/1.174, allocations: 10.35 MB / 0.6801 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.175, allocations: 31.75 kB / 0.6802 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/1.177, allocations: 171.9 kB / 0.6803 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003051/1.18, allocations: 1.148 MB / 0.6815 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03413/1.214, allocations: 9.976 MB / 0.6912 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4618/1.676, allocations: 37.4 MB / 0.7277 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03369/1.71, allocations: 5.58 MB / 0.7332 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008489/1.719, allocations: 2.311 MB / 0.7354 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/1.722, allocations: 1.881 MB / 0.7373 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.736e-05/1.723, allocations: 48.91 kB / 0.7373 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 1.033e-05/1.723, allocations: 2.375 kB / 0.7373 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=231): time 0.0725/1.795, allocations: 12.41 MB / 0.7494 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001492/1.797, allocations: 1.524 MB / 0.7509 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/1.803, allocations: 2.488 MB / 0.7534 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006839/1.804, allocations: 55.84 kB / 0.7534 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.806, allocations: 2.683 MB / 0.756 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.808, allocations: 0.8402 MB / 0.7568 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009909/1.809, allocations: 113.2 kB / 0.757 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005856/1.81, allocations: 0.5473 MB / 0.7575 GB, free: 97.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006561/1.816, allocations: 2.554 MB / 0.76 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009226/1.826, allocations: 5.544 MB / 0.7654 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008844/1.834, allocations: 3.783 MB / 0.7691 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.835, allocations: 29.41 kB / 0.7691 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.1175/1.952, allocations: 18.82 MB / 0.7875 GB, free: 90.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/1.952, allocations: 49.28 kB / 0.7875 GB, free: 90.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08306/2.035, allocations: 11.97 MB / 0.7992 GB, free: 88.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09204/2.128, allocations: 10.3 MB / 0.8093 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/2.139, allocations: 1.25 MB / 0.8105 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04481/2.184, allocations: 15.88 MB / 0.826 GB, free: 63.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007396/2.191, allocations: 439.5 kB / 0.8264 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/2.193, allocations: 318.2 kB / 0.8267 GB, free: 63.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002503/2.195, allocations: 0.4979 MB / 0.8272 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008526/2.196, allocations: 276.3 kB / 0.8275 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/2.212, allocations: 5.071 MB / 0.8324 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01334/2.225, allocations: 4.361 MB / 0.8367 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/2.225, allocations: 4 kB / 0.8367 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.66e-05/2.226, allocations: 7.969 kB / 0.8367 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04068/2.266, allocations: 12.96 MB / 0.8494 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.549e-05/2.266, allocations: 8 kB / 0.8494 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/2.27, allocations: 403.4 kB / 0.8498 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005346/2.275, allocations: 0.9459 MB / 0.8507 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006451/2.276, allocations: 51.98 kB / 0.8507 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009684/2.286, allocations: 5.421 MB / 0.856 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001223/2.287, allocations: 1.46 MB / 0.8575 GB, free: 31.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/2.307, allocations: 8.292 MB / 0.8656 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/2.309, allocations: 333.6 kB / 0.8659 GB, free: 22.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/2.31, allocations: 41.17 kB / 0.8659 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/2.314, allocations: 200.8 kB / 0.8661 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009076/2.315, allocations: 143.9 kB / 0.8662 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/2.315, allocations: 65.7 kB / 0.8663 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004414/2.319, allocations: 1.697 MB / 0.868 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.477e-06/2.32, allocations: 0 / 0.868 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01153/2.331, allocations: 1.11 MB / 0.869 GB, free: 18.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03129/2.362, allocations: 10.89 MB / 0.8797 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.38, allocations: 6.479 MB / 0.886 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/2.38, allocations: 7.938 kB / 0.886 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007221/2.388, allocations: 2.5 MB / 0.8885 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/2.391, allocations: 336.1 kB / 0.8888 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/2.429, allocations: 10.34 MB / 0.8989 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008352/2.437, allocations: 3.252 MB / 0.902 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3538/2.791, allocations: 1.71 MB / 0.9037 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.635e-06/2.791, allocations: 0 / 0.9037 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.611/7.402, allocations: 130.3 MB / 1.031 GB, free: 59.89 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat