Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009911/0.0009912, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008409/0.0008408, allocations: 104.2 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.628e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.595, allocations: 105 MB / 0.607 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5954, allocations: 76.72 kB / 0.6071 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2443/0.8398, allocations: 95.6 MB / 0.7004 GB, free: 5.961 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.8398, allocations: 0 / 0.7004 GB, free: 5.961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002463/0.8401, allocations: 83.94 kB / 0.7005 GB, free: 5.879 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0164/0.8565, allocations: 4.283 MB / 0.7047 GB, free: 1.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/0.8566, allocations: 16.02 kB / 0.7047 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.8736, allocations: 3.609 MB / 0.7082 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.8845, allocations: 3.813 MB / 0.712 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.8849, allocations: 144 kB / 0.7121 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/0.8878, allocations: 263.9 kB / 0.7124 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/0.9046, allocations: 8.156 MB / 0.7203 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.9315, allocations: 10.72 MB / 0.7308 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000318/0.9319, allocations: 35.73 kB / 0.7308 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/0.9354, allocations: 16 kB / 0.7308 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/0.9382, allocations: 1.337 MB / 0.7321 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3777/1.316, allocations: 38.97 MB / 0.7702 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006772/1.323, allocations: 5.096 MB / 0.7752 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/1.327, allocations: 2.92 MB / 0.778 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.328, allocations: 1.891 MB / 0.7799 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.328, allocations: 55.44 kB / 0.7799 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=264): time 6.051e-06/1.328, allocations: 1.344 kB / 0.7799 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=285): time 0.03097/1.359, allocations: 16.61 MB / 0.7962 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.359, allocations: 74.72 kB / 0.7962 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/1.363, allocations: 2.453 MB / 0.7986 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004762/1.364, allocations: 28.45 kB / 0.7986 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.365, allocations: 3.065 MB / 0.8016 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.366, allocations: 1.002 MB / 0.8026 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.367, allocations: 0 / 0.8026 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002927/1.367, allocations: 0.57 MB / 0.8032 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/1.37, allocations: 2.731 MB / 0.8058 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.374, allocations: 6.08 MB / 0.8118 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/1.379, allocations: 4.079 MB / 0.8158 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/1.379, allocations: 34.44 kB / 0.8158 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01439/1.394, allocations: 9.401 MB / 0.825 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.394, allocations: 54.56 kB / 0.825 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002084/1.394, allocations: 118.3 kB / 0.8251 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/1.397, allocations: 1.386 MB / 0.8265 GB, free: 99.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/1.402, allocations: 1.46 MB / 0.8279 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/1.41, allocations: 6.806 MB / 0.8346 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.415, allocations: 295.6 kB / 0.8348 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.417, allocations: 368.8 kB / 0.8352 GB, free: 96.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.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 (758): * Single equations (assignments): 751 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002382/1.419, allocations: 407.5 kB / 0.8356 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01035/1.429, allocations: 5.766 MB / 0.8412 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007539/1.43, allocations: 292.6 kB / 0.8415 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.441, allocations: 6.4 MB / 0.8477 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.069e-05/1.441, allocations: 51.52 kB / 0.8478 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/1.441, allocations: 7.781 kB / 0.8478 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.441, allocations: 13.75 kB / 0.8478 GB, free: 91.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.465, allocations: 12.8 MB / 0.8603 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.465, allocations: 8 kB / 0.8603 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.467, allocations: 468 kB / 0.8608 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.47, allocations: 1.197 MB / 0.8619 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.471, allocations: 19.75 kB / 0.862 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007507/1.478, allocations: 6.151 MB / 0.868 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.478, allocations: 15.91 kB / 0.868 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.494, allocations: 10.26 MB / 0.878 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/1.495, allocations: 339.3 kB / 0.8783 GB, free: 65.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.496, allocations: 15.69 kB / 0.8783 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.498, allocations: 164.1 kB / 0.8785 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/1.499, allocations: 169 kB / 0.8787 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/1.499, allocations: 76.86 kB / 0.8787 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003403/1.502, allocations: 1.606 MB / 0.8803 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.502, allocations: 0 / 0.8803 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006892/1.509, allocations: 0.992 MB / 0.8813 GB, free: 62.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/1.525, allocations: 12.75 MB / 0.8937 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.536, allocations: 6.646 MB / 0.9002 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/1.536, allocations: 4 kB / 0.9002 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00425/1.54, allocations: 2.675 MB / 0.9028 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.543, allocations: 254.8 kB / 0.9031 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/1.571, allocations: 10.93 MB / 0.9137 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006412/1.577, allocations: 3.682 MB / 0.9173 GB, free: 30 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006351/1.584, allocations: 2.312 MB / 0.9196 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003825/1.588, allocations: 2.085 MB / 0.9216 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/1.588, allocations: 0 / 0.9216 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4286/2.016, allocations: 75.44 MB / 0.9953 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/2.016, allocations: 132.8 kB / 0.9954 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/5.683, allocations: 0 / 0.9954 GB, free: 131.6 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat