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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008453, allocations: 88.19 kB / 15.7 MB, free: 460 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.001038/0.001038, allocations: 174.3 kB / 16.58 MB, free: 6.844 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.432/1.432, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.3553/0.3553, allocations: 43.55 MB / 314.6 MB, free: 8.891 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.0005033/0.0005033, allocations: 15.98 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2446/0.3673, allocations: 23.17 MB / 466 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3791, allocations: 5.954 MB / 472 MB, free: 34.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004782/0.384, allocations: 104.6 kB / 472.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.387, allocations: 1.093 MB / 473.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008911/0.3959, allocations: 3.502 MB / 476.7 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.3977, allocations: 464.6 kB / 477.2 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004421/0.4021, allocations: 4.157 MB / 481.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.4047, allocations: 2.155 MB / 483.5 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.406, allocations: 1.007 MB / 484.5 MB, free: 30.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.4077, allocations: 1.671 MB / 486.1 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.408, allocations: 122.9 kB / 486.3 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.4099, allocations: 1.051 MB / 487.3 MB, free: 29.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.4112, allocations: 1.492 MB / 488.8 MB, free: 29.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.4119, allocations: 0.7317 MB / 489.5 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.4194, allocations: 4.724 MB / 494.3 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4194, allocations: 0 / 494.3 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4194, allocations: 0 / 494.3 MB, free: 27.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002332/0.4197, allocations: 0 / 494.3 MB, free: 27.7 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009013/0.4287, allocations: 3.466 MB / 497.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4288, allocations: 8.562 kB / 497.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/0.4304, allocations: 0.6845 MB / 498.4 MB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.4477, allocations: 5.797 MB / 0.4924 GB, free: 22.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.455, allocations: 2.932 MB / 0.4953 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.4552, allocations: 177 kB / 0.4954 GB, free: 20.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.4565, allocations: 309.3 kB / 0.4957 GB, free: 20.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.4743, allocations: 10.71 MB / 0.5062 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.4744, allocations: 32.08 kB / 0.5062 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004092/0.4748, allocations: 113.6 kB / 0.5063 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003196/0.478, allocations: 2.465 MB / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.4955, allocations: 10.13 MB / 0.5186 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0503/0.5458, allocations: 35.68 MB / 0.5535 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.5563, allocations: 5.588 MB / 0.5589 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/0.5596, allocations: 2.334 MB / 0.5612 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.5612, allocations: 1.872 MB / 0.563 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5613, allocations: 48.56 kB / 0.5631 GB, free: 3.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 4.428e-06/0.5613, allocations: 0 / 0.5631 GB, free: 3.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03306/0.5944, allocations: 14.99 MB / 0.5777 GB, free: 4.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001193/0.5956, allocations: 1.527 MB / 0.5792 GB, free: 2.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.5994, allocations: 2.808 MB / 0.582 GB, free: 15.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004001/0.5998, allocations: 53.7 kB / 0.582 GB, free: 15.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.6014, allocations: 2.693 MB / 0.5846 GB, free: 12.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008842/0.6023, allocations: 0.8558 MB / 0.5855 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.6026, allocations: 108 kB / 0.5856 GB, free: 11.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.6029, allocations: 0.5414 MB / 0.5861 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/0.6066, allocations: 2.607 MB / 0.5886 GB, free: 8.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005402/0.612, allocations: 5.612 MB / 0.5941 GB, free: 1.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005575/0.6176, allocations: 3.798 MB / 0.5978 GB, free: 13.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.379e-05/0.6177, allocations: 32 kB / 0.5979 GB, free: 13.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06721/0.6849, allocations: 18.97 MB / 0.6164 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.951e-05/0.6851, allocations: 48 kB / 0.6164 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2799/0.965, allocations: 12 MB / 0.6282 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03841/1.003, allocations: 10.29 MB / 0.6382 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/1.008, allocations: 1.306 MB / 0.6395 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/1.033, allocations: 16 MB / 0.6551 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.037, allocations: 442.4 kB / 0.6555 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.038, allocations: 321.5 kB / 0.6558 GB, free: 134 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 642 * 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.004198/1.043, allocations: 2.031 MB / 0.6578 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/1.043, allocations: 270 kB / 0.6581 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/1.052, allocations: 5.109 MB / 0.6631 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007029/1.059, allocations: 4.392 MB / 0.6674 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.059, allocations: 3.188 kB / 0.6674 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.059, allocations: 7.969 kB / 0.6674 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.078, allocations: 12.91 MB / 0.68 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.078, allocations: 10.47 kB / 0.68 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.079, allocations: 460.4 kB / 0.6804 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.082, allocations: 0.9418 MB / 0.6813 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.082, allocations: 43.89 kB / 0.6814 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004931/1.087, allocations: 5.465 MB / 0.6867 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006776/1.088, allocations: 1.455 MB / 0.6881 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009404/1.097, allocations: 7.713 MB / 0.6957 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/1.098, allocations: 334 kB / 0.696 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/1.098, allocations: 39.44 kB / 0.696 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.099, allocations: 198.1 kB / 0.6962 GB, free: 108 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.1, allocations: 148.4 kB / 0.6964 GB, free: 107.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.1, allocations: 67.97 kB / 0.6964 GB, free: 107.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002476/1.102, allocations: 1.709 MB / 0.6981 GB, free: 106.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.102, allocations: 0 / 0.6981 GB, free: 106.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004504/1.107, allocations: 1.107 MB / 0.6992 GB, free: 105 MB / 494.1 MB 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 () * Number of clocked 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.009172/1.116, allocations: 8.375 MB / 0.7073 GB, free: 96.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008941/1.125, allocations: 6.551 MB / 0.7137 GB, free: 89.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.125, allocations: 0 / 0.7137 GB, free: 89.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/1.128, allocations: 2.523 MB / 0.7162 GB, free: 87.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.13, allocations: 371 kB / 0.7166 GB, free: 87.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07355/1.204, allocations: 39.8 MB / 0.7554 GB, free: 44.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002705/1.206, allocations: 3.167 MB / 0.7585 GB, free: 41.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004007/1.21, allocations: 2.052 MB / 0.7605 GB, free: 39.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/1.212, allocations: 1.679 MB / 0.7622 GB, free: 37.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/1.212, allocations: 0 / 0.7622 GB, free: 37.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/1.501, allocations: 79.4 MB / 0.8397 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.501, allocations: 208.7 kB / 0.8399 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/5.132, allocations: 0 / 0.8399 GB, free: 142.5 MB / 0.4981 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) Environment - environmentSimulation: 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