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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008568, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 174.4 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.7 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3603/0.3603, allocations: 43.55 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005365, allocations: 19.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2611/0.3828, allocations: 38.09 MB / 481 MB, free: 27.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.4001, allocations: 8.44 MB / 489.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00754/0.4077, allocations: 170.6 kB / 489.6 MB, free: 22.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.4125, allocations: 1.873 MB / 491.4 MB, free: 21.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.4254, allocations: 5.579 MB / 497 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.4276, allocations: 481.2 kB / 497.5 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006917/0.4345, allocations: 4.443 MB / 0.4902 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006976/0.4415, allocations: 3.2 MB / 0.4933 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.4449, allocations: 1.198 MB / 0.4945 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/0.4496, allocations: 1.909 MB / 0.4963 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.4512, allocations: 154 kB / 0.4965 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.4545, allocations: 0.7712 MB / 0.4972 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003676/0.4582, allocations: 1.688 MB / 0.4989 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.4608, allocations: 0.8787 MB / 0.4997 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007778/0.4686, allocations: 5.631 MB / 0.5052 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4687, allocations: 4 kB / 0.5052 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4687, allocations: 0 / 0.5052 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002665/0.4689, allocations: 0 / 0.5052 GB, free: 11.07 MB / 382.1 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.009604/0.4786, allocations: 4.075 MB / 0.5092 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.4786, allocations: 9.594 kB / 0.5092 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001529/0.4802, allocations: 0.8167 MB / 0.51 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.4901, allocations: 3.246 MB / 0.5132 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005709/0.4959, allocations: 2.6 MB / 0.5157 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.496, allocations: 247.1 kB / 0.516 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005739/0.4966, allocations: 311 kB / 0.5163 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.5158, allocations: 12.08 MB / 0.5281 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.5159, allocations: 35.66 kB / 0.5281 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.5163, allocations: 151.8 kB / 0.5282 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004409/0.5207, allocations: 2.828 MB / 0.531 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.5424, allocations: 11.34 MB / 0.5421 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06125/0.6037, allocations: 41.18 MB / 0.5823 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6154, allocations: 6.059 MB / 0.5882 GB, free: 9.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.6194, allocations: 2.998 MB / 0.5911 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.6211, allocations: 1.88 MB / 0.593 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.6212, allocations: 65.11 kB / 0.593 GB, free: 4.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 5.831e-06/0.6212, allocations: 0 / 0.593 GB, free: 4.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04797/0.6692, allocations: 20.14 MB / 0.6127 GB, free: 15.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.6693, allocations: 77.41 kB / 0.6128 GB, free: 15.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/0.6753, allocations: 3.045 MB / 0.6157 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007934/0.6762, allocations: 65.69 kB / 0.6158 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002753/0.6789, allocations: 3.008 MB / 0.6187 GB, free: 9.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001813/0.6808, allocations: 1.014 MB / 0.6197 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000892/0.6817, allocations: 120 kB / 0.6199 GB, free: 8.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006577/0.6824, allocations: 0.5662 MB / 0.6204 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/0.6875, allocations: 2.83 MB / 0.6232 GB, free: 4.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2572/0.9447, allocations: 6.03 MB / 0.6291 GB, free: 137.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006268/0.9511, allocations: 4.103 MB / 0.6331 GB, free: 137.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.948e-05/0.9512, allocations: 30.78 kB / 0.6331 GB, free: 137.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01633/0.9675, allocations: 10.01 MB / 0.6429 GB, free: 135.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/0.9677, allocations: 58.91 kB / 0.6429 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.9678, allocations: 110.6 kB / 0.643 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.9707, allocations: 1.367 MB / 0.6444 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/0.9752, allocations: 1.382 MB / 0.6457 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.9835, allocations: 7.472 MB / 0.653 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.9881, allocations: 369 kB / 0.6534 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/0.9891, allocations: 347.9 kB / 0.6537 GB, free: 131 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005084/0.9942, allocations: 2.306 MB / 0.656 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/0.9949, allocations: 305.9 kB / 0.6562 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.006, allocations: 6.608 MB / 0.6627 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/1.006, allocations: 50.97 kB / 0.6627 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.006, allocations: 4.625 kB / 0.6628 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/1.006, allocations: 11.81 kB / 0.6628 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/1.029, allocations: 14 MB / 0.6764 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.029, allocations: 7.688 kB / 0.6764 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1.031, allocations: 454.3 kB / 0.6769 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/1.034, allocations: 1.213 MB / 0.6781 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003962/1.035, allocations: 54.16 kB / 0.6781 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/1.042, allocations: 6.522 MB / 0.6845 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.042, allocations: 11.94 kB / 0.6845 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.054, allocations: 9.825 MB / 0.6941 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.056, allocations: 0.8229 MB / 0.6949 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004484/1.056, allocations: 49.88 kB / 0.6949 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.057, allocations: 193.5 kB / 0.6951 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/1.058, allocations: 163.1 kB / 0.6953 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.058, allocations: 83.67 kB / 0.6954 GB, free: 109.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002685/1.061, allocations: 1.864 MB / 0.6972 GB, free: 107.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.061, allocations: 0 / 0.6972 GB, free: 107.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004987/1.066, allocations: 1.13 MB / 0.6983 GB, free: 106.5 MB / 494.1 MB 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/1.077, allocations: 10.5 MB / 0.7085 GB, free: 96.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009042/1.086, allocations: 6.871 MB / 0.7152 GB, free: 89.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.086, allocations: 0 / 0.7152 GB, free: 89.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0033/1.09, allocations: 2.852 MB / 0.718 GB, free: 86.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/1.092, allocations: 400 kB / 0.7184 GB, free: 86.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05208/1.144, allocations: 36.46 MB / 0.754 GB, free: 46.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004319/1.149, allocations: 3.588 MB / 0.7575 GB, free: 43.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004958/1.154, allocations: 2.2 MB / 0.7597 GB, free: 41.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/1.157, allocations: 2.093 MB / 0.7617 GB, free: 39 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/1.157, allocations: 0 / 0.7617 GB, free: 39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3124/1.469, allocations: 79.31 MB / 0.8392 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.469, allocations: 200.8 kB / 0.8393 GB, free: 149 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.32, allocations: 0 / 0.8393 GB, free: 149 MB / 0.4981 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) Environment - environmentSimulation: 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