Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 178.4 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009601, allocations: 91.44 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3489/0.3489, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5003, allocations: 104.9 MB / 0.612 GB, free: 6.234 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5006, allocations: 79.94 kB / 0.6121 GB, free: 6.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5134/1.014, allocations: 96.57 MB / 0.7064 GB, free: 96.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.014, allocations: 3.5 kB / 0.7064 GB, free: 96.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001304/1.014, allocations: 80.97 kB / 0.7065 GB, free: 96.19 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.01397/1.028, allocations: 4.39 MB / 0.7108 GB, free: 94.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.028, allocations: 10.62 kB / 0.7108 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003346/1.032, allocations: 0.8776 MB / 0.7117 GB, free: 94.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/1.048, allocations: 3.61 MB / 0.7152 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/1.064, allocations: 4.347 MB / 0.7194 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006912/1.065, allocations: 346.6 kB / 0.7198 GB, free: 93.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003994/1.069, allocations: 446.3 kB / 0.7202 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/1.096, allocations: 11.78 MB / 0.7317 GB, free: 89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/1.096, allocations: 38.77 kB / 0.7317 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/1.098, allocations: 203.2 kB / 0.7319 GB, free: 88.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/1.1, allocations: 1.334 MB / 0.7332 GB, free: 88.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/1.127, allocations: 11.42 MB / 0.7444 GB, free: 85.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06455/1.192, allocations: 41.55 MB / 0.785 GB, free: 56.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.203, allocations: 5.961 MB / 0.7908 GB, free: 51.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.205, allocations: 1.882 MB / 0.7926 GB, free: 49.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/1.205, allocations: 56.5 kB / 0.7927 GB, free: 49.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 7.774e-06/1.205, allocations: 0 / 0.7927 GB, free: 49.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.04786/1.253, allocations: 20.43 MB / 0.8126 GB, free: 28.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.253, allocations: 81.34 kB / 0.8127 GB, free: 28.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/1.258, allocations: 2.709 MB / 0.8153 GB, free: 26.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006957/1.259, allocations: 65.7 kB / 0.8154 GB, free: 26.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/1.261, allocations: 2.991 MB / 0.8183 GB, free: 23.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.263, allocations: 1.012 MB / 0.8193 GB, free: 22.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000893/1.264, allocations: 118 kB / 0.8194 GB, free: 21.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005971/1.264, allocations: 0.5621 MB / 0.82 GB, free: 21.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/1.269, allocations: 2.842 MB / 0.8227 GB, free: 18.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005933/1.275, allocations: 5.965 MB / 0.8286 GB, free: 10.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005823/1.281, allocations: 4.111 MB / 0.8326 GB, free: 6.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-05/1.281, allocations: 28 kB / 0.8326 GB, free: 6.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01937/1.3, allocations: 10.01 MB / 0.8424 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.3, allocations: 52 kB / 0.8424 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/1.301, allocations: 108 kB / 0.8425 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/1.305, allocations: 1.389 MB / 0.8439 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/1.31, allocations: 1.38 MB / 0.8452 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.322, allocations: 7.397 MB / 0.8525 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.328, allocations: 409.7 kB / 0.8529 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/1.329, allocations: 344 kB / 0.8532 GB, free: 1.625 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 707 * 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.006839/1.336, allocations: 2.298 MB / 0.8554 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.337, allocations: 304 kB / 0.8557 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.352, allocations: 6.614 MB / 0.8622 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-05/1.352, allocations: 53.86 kB / 0.8622 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.352, allocations: 4 kB / 0.8622 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/1.352, allocations: 11.95 kB / 0.8622 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3586/1.711, allocations: 14.04 MB / 0.876 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/1.711, allocations: 12.77 kB / 0.876 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/1.713, allocations: 455 kB / 0.8764 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.716, allocations: 1.21 MB / 0.8776 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.717, allocations: 51.56 kB / 0.8776 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008116/1.725, allocations: 6.752 MB / 0.8842 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.725, allocations: 10.38 kB / 0.8842 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/1.739, allocations: 10.44 MB / 0.8944 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.741, allocations: 360.5 kB / 0.8948 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/1.741, allocations: 49.31 kB / 0.8948 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.743, allocations: 202.2 kB / 0.895 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.744, allocations: 170.9 kB / 0.8952 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.744, allocations: 76.91 kB / 0.8952 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003763/1.748, allocations: 1.865 MB / 0.8971 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.748, allocations: 0 / 0.8971 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00717/1.755, allocations: 1.142 MB / 0.8982 GB, free: 110.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * 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.01802/1.773, allocations: 12.84 MB / 0.9107 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.011/1.784, allocations: 6.917 MB / 0.9175 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/1.784, allocations: 0 / 0.9175 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003941/1.788, allocations: 2.762 MB / 0.9202 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.79, allocations: 370.5 kB / 0.9205 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08078/1.871, allocations: 111.3 MB / 1.029 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006411/1.877, allocations: 3.673 MB / 1.033 GB, free: 18.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005976/1.883, allocations: 2.202 MB / 1.035 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003851/1.887, allocations: 2.075 MB / 1.037 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.887, allocations: 0 / 1.037 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/2.323, allocations: 79.51 MB / 1.115 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/2.323, allocations: 202.2 kB / 1.115 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.303/6.626, allocations: 0 / 1.115 GB, free: 140.1 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat