Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",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.0009519/0.000952, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 90.56 kB / 261.8 MB, free: 1.68 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.2154/0.2154, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.086e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5686, allocations: 102.6 MB / 0.5662 GB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5689, allocations: 83.7 kB / 0.5663 GB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.236/0.8049, allocations: 93.58 MB / 0.6577 GB, free: 3.188 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.805, allocations: 0 / 0.6577 GB, free: 3.188 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.8052, allocations: 88 kB / 0.6578 GB, free: 3.102 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01396/0.8191, allocations: 4.248 MB / 0.6619 GB, free: 14.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.8192, allocations: 8.031 kB / 0.6619 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.8357, allocations: 3.616 MB / 0.6655 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.8492, allocations: 4.47 MB / 0.6698 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.8496, allocations: 144 kB / 0.67 GB, free: 6.484 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.852, allocations: 263.8 kB / 0.6702 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01648/0.8685, allocations: 8.175 MB / 0.6782 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.893, allocations: 10.73 MB / 0.6887 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.8932, allocations: 35.64 kB / 0.6887 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/0.8938, allocations: 16 kB / 0.6887 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.8956, allocations: 1.337 MB / 0.69 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3848/1.28, allocations: 38.88 MB / 0.728 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007942/1.288, allocations: 5.085 MB / 0.733 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004248/1.293, allocations: 2.927 MB / 0.7358 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/1.295, allocations: 1.888 MB / 0.7377 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.295, allocations: 51.44 kB / 0.7377 GB, free: 104 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=264): time 5.43e-06/1.295, allocations: 2.438 kB / 0.7377 GB, free: 104 MB / 0.4948 GB Notification: Performance of matching and sorting (n=285): time 0.03367/1.328, allocations: 16.68 MB / 0.754 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.328, allocations: 79.91 kB / 0.7541 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.333, allocations: 2.47 MB / 0.7565 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000315/1.334, allocations: 25.7 kB / 0.7565 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.336, allocations: 3.083 MB / 0.7595 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009727/1.337, allocations: 1.001 MB / 0.7605 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/1.337, allocations: 0 / 0.7605 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004195/1.337, allocations: 0.5723 MB / 0.7611 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/1.341, allocations: 2.736 MB / 0.7637 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/1.346, allocations: 6.124 MB / 0.7697 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005625/1.351, allocations: 4.088 MB / 0.7737 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.351, allocations: 35.28 kB / 0.7737 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01714/1.368, allocations: 9.431 MB / 0.783 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.369, allocations: 56.44 kB / 0.783 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/1.369, allocations: 123.4 kB / 0.7831 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/1.373, allocations: 1.391 MB / 0.7845 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00557/1.378, allocations: 1.468 MB / 0.7859 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008517/1.387, allocations: 6.811 MB / 0.7926 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.393, allocations: 298.4 kB / 0.7929 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.395, allocations: 366.9 kB / 0.7932 GB, free: 85.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (764): * Single equations (assignments): 757 * 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.002805/1.398, allocations: 411.6 kB / 0.7936 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.011/1.409, allocations: 5.767 MB / 0.7992 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.41, allocations: 302.6 kB / 0.7995 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.422, allocations: 6.399 MB / 0.8058 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-05/1.422, allocations: 57.45 kB / 0.8058 GB, free: 79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.422, allocations: 4 kB / 0.8058 GB, free: 79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/1.422, allocations: 9.422 kB / 0.8058 GB, free: 79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/1.449, allocations: 12.81 MB / 0.8183 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/1.45, allocations: 8.766 kB / 0.8184 GB, free: 68.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.452, allocations: 459.1 kB / 0.8188 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.455, allocations: 1.204 MB / 0.82 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007127/1.456, allocations: 26.8 kB / 0.82 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007477/1.464, allocations: 6.148 MB / 0.826 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.464, allocations: 14.12 kB / 0.826 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/1.478, allocations: 10.27 MB / 0.836 GB, free: 52.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/1.481, allocations: 0.8109 MB / 0.8368 GB, free: 51.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.482, allocations: 8 kB / 0.8368 GB, free: 51.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.485, allocations: 167.1 kB / 0.837 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/1.486, allocations: 168.1 kB / 0.8372 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/1.486, allocations: 79.84 kB / 0.8372 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003335/1.489, allocations: 1.616 MB / 0.8388 GB, free: 50.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.489, allocations: 0 / 0.8388 GB, free: 50.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007214/1.497, allocations: 0.998 MB / 0.8398 GB, free: 49.11 MB / 0.4948 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.0165/1.513, allocations: 12.76 MB / 0.8522 GB, free: 37.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.525, allocations: 6.655 MB / 0.8587 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/1.525, allocations: 0 / 0.8587 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004648/1.53, allocations: 2.68 MB / 0.8614 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.533, allocations: 233.4 kB / 0.8616 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.565, allocations: 10.96 MB / 0.8723 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006374/1.572, allocations: 3.682 MB / 0.8759 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006563/1.578, allocations: 2.3 MB / 0.8781 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004127/1.582, allocations: 2.093 MB / 0.8802 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/1.582, allocations: 0 / 0.8802 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4579/2.04, allocations: 75.55 MB / 0.954 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.041, allocations: 134.6 kB / 0.9541 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/5.695, allocations: 0 / 0.9541 GB, free: 128.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat