Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_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.001091/0.001091, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.631/1.631, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.001014/0.001014, allocations: 95.77 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4095/0.4095, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.726e-05, allocations: 4 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 58.84 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.5862, allocations: 101.6 MB / 0.5721 GB, free: 3.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5865, allocations: 79.95 kB / 0.5722 GB, free: 3.219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2194/0.8059, allocations: 83.68 MB / 0.6539 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.806, allocations: 0 / 0.6539 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.8062, allocations: 68 kB / 0.654 GB, free: 14.88 MB / 490.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.0158/0.822, allocations: 3.869 MB / 0.6578 GB, free: 10.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.8221, allocations: 8.031 kB / 0.6578 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002984/0.8251, allocations: 0.7577 MB / 0.6585 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/0.8481, allocations: 5.875 MB / 0.6642 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3495/1.198, allocations: 5.313 MB / 0.6694 GB, free: 96.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/1.198, allocations: 277.1 kB / 0.6697 GB, free: 96.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002788/1.201, allocations: 367.4 kB / 0.67 GB, free: 96.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/1.228, allocations: 10.36 MB / 0.6802 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/1.228, allocations: 34.53 kB / 0.6802 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007092/1.229, allocations: 173.7 kB / 0.6804 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/1.23, allocations: 1.15 MB / 0.6815 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/1.252, allocations: 9.971 MB / 0.6912 GB, free: 95.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06493/1.317, allocations: 37.42 MB / 0.7278 GB, free: 74.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/1.329, allocations: 5.573 MB / 0.7332 GB, free: 72.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/1.333, allocations: 2.308 MB / 0.7355 GB, free: 71.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.334, allocations: 1.879 MB / 0.7373 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/1.334, allocations: 56.53 kB / 0.7373 GB, free: 69.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 7.074e-06/1.334, allocations: 0 / 0.7373 GB, free: 69.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.03202/1.366, allocations: 12.41 MB / 0.7495 GB, free: 66.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001103/1.367, allocations: 1.526 MB / 0.7509 GB, free: 64.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/1.373, allocations: 2.494 MB / 0.7534 GB, free: 63.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007189/1.374, allocations: 49.64 kB / 0.7534 GB, free: 63.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.376, allocations: 2.696 MB / 0.7561 GB, free: 61.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.377, allocations: 0.8441 MB / 0.7569 GB, free: 61.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009194/1.378, allocations: 103.8 kB / 0.757 GB, free: 61.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006305/1.379, allocations: 0.5406 MB / 0.7575 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/1.383, allocations: 2.556 MB / 0.76 GB, free: 59.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005463/1.389, allocations: 5.549 MB / 0.7654 GB, free: 55.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005383/1.394, allocations: 3.785 MB / 0.7691 GB, free: 53.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.394, allocations: 31.47 kB / 0.7692 GB, free: 53.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06069/1.455, allocations: 18.89 MB / 0.7876 GB, free: 46.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.455, allocations: 51.95 kB / 0.7876 GB, free: 46.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05635/1.512, allocations: 11.96 MB / 0.7993 GB, free: 39.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06152/1.573, allocations: 10.31 MB / 0.8094 GB, free: 28.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/1.578, allocations: 1.248 MB / 0.8106 GB, free: 27.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02369/1.601, allocations: 15.87 MB / 0.8261 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/1.607, allocations: 441.2 kB / 0.8265 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.608, allocations: 321.3 kB / 0.8268 GB, free: 10.8 MB / 490.7 MB 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.001132/1.61, allocations: 0.4979 MB / 0.8273 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/1.61, allocations: 272.4 kB / 0.8276 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008093/1.618, allocations: 5.08 MB / 0.8325 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006228/1.625, allocations: 4.356 MB / 0.8368 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.625, allocations: 0 / 0.8368 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.625, allocations: 11.97 kB / 0.8368 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.65, allocations: 12.96 MB / 0.8495 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.65, allocations: 7.75 kB / 0.8495 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.652, allocations: 407.3 kB / 0.8499 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/1.655, allocations: 0.9354 MB / 0.8508 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003643/1.655, allocations: 47.97 kB / 0.8508 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3889/2.044, allocations: 5.422 MB / 0.8561 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001008/2.045, allocations: 1.454 MB / 0.8575 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/2.06, allocations: 8.294 MB / 0.8656 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/2.061, allocations: 336.6 kB / 0.866 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/2.062, allocations: 43.92 kB / 0.866 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/2.063, allocations: 196 kB / 0.8662 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/2.064, allocations: 145.8 kB / 0.8663 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/2.064, allocations: 69.42 kB / 0.8664 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003104/2.067, allocations: 1.691 MB / 0.868 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/2.067, allocations: 0 / 0.868 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006511/2.074, allocations: 1.113 MB / 0.8691 GB, free: 98.42 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.01263/2.086, allocations: 10.88 MB / 0.8798 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01156/2.098, allocations: 6.481 MB / 0.8861 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/2.098, allocations: 3.312 kB / 0.8861 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004192/2.102, allocations: 2.502 MB / 0.8885 GB, free: 94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/2.105, allocations: 334.8 kB / 0.8888 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/2.136, allocations: 9.882 MB / 0.8985 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00693/2.143, allocations: 3.253 MB / 0.9017 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00715/2.15, allocations: 2.058 MB / 0.9037 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004053/2.154, allocations: 1.665 MB / 0.9053 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/2.154, allocations: 7.281 kB / 0.9053 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/2.286, allocations: 80.11 MB / 0.9836 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/2.286, allocations: 186.6 kB / 0.9837 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/6.614, allocations: 3.938 kB / 0.9837 GB, free: 49.61 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat