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.001309/0.001309, allocations: 96.2 kB / 15.68 MB, free: 488 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.001832/0.001832, allocations: 175.7 kB / 16.56 MB, free: 6.375 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.648/1.648, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3952/0.3952, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0006935/0.0006936, allocations: 18.97 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1355, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2511/0.3867, allocations: 21.95 MB / 464.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.4037, allocations: 6.14 MB / 470.9 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.4087, allocations: 101.1 kB / 471 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.4127, allocations: 1.125 MB / 472.2 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.4259, allocations: 3.465 MB / 475.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.4278, allocations: 446.9 kB / 476.1 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00405/0.4319, allocations: 2.115 MB / 478.2 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.4349, allocations: 2.149 MB / 480.3 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.4363, allocations: 0.8542 MB / 481.2 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4377, allocations: 1.184 MB / 482.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.4382, allocations: 124.8 kB / 482.5 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4403, allocations: 1.028 MB / 483.5 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.4415, allocations: 1.379 MB / 484.9 MB, free: 30.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.4422, allocations: 0.7334 MB / 485.6 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006717/0.4489, allocations: 4.715 MB / 490.3 MB, free: 28.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.449, allocations: 0 / 490.3 MB, free: 28.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.449, allocations: 1.219 kB / 490.3 MB, free: 28.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002927/0.4493, allocations: 0 / 490.3 MB, free: 28.58 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.01086/0.4602, allocations: 3.475 MB / 493.8 MB, free: 26.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4602, allocations: 12.34 kB / 493.8 MB, free: 26.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002323/0.4626, allocations: 0.6897 MB / 494.5 MB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02318/0.4858, allocations: 6.412 MB / 0.4892 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008095/0.4939, allocations: 2.513 MB / 0.4916 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.4942, allocations: 182.4 kB / 0.4918 GB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.4962, allocations: 316.6 kB / 0.4921 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/0.5227, allocations: 10.79 MB / 0.5027 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/0.523, allocations: 27.72 kB / 0.5027 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003101/0.5262, allocations: 110.2 kB / 0.5028 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008472/0.5347, allocations: 2.464 MB / 0.5052 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/0.5673, allocations: 10.23 MB / 0.5152 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07795/0.6453, allocations: 35.82 MB / 0.5502 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.6583, allocations: 5.592 MB / 0.5556 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/0.6605, allocations: 1.884 MB / 0.5575 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.6606, allocations: 48.56 kB / 0.5575 GB, free: 8.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 7.074e-06/0.6606, allocations: 0 / 0.5575 GB, free: 8.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.04073/0.7014, allocations: 15.54 MB / 0.5727 GB, free: 8.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001678/0.7031, allocations: 1.539 MB / 0.5742 GB, free: 7.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/0.7081, allocations: 3.03 MB / 0.5772 GB, free: 4.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006394/0.7088, allocations: 57.69 kB / 0.5772 GB, free: 4.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.7111, allocations: 2.678 MB / 0.5798 GB, free: 1.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.7125, allocations: 0.8481 MB / 0.5806 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.7128, allocations: 112 kB / 0.5808 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004405/0.7132, allocations: 0.5453 MB / 0.5813 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004272/0.7175, allocations: 2.607 MB / 0.5838 GB, free: 13.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006354/0.7239, allocations: 5.592 MB / 0.5893 GB, free: 6.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006159/0.7301, allocations: 3.806 MB / 0.593 GB, free: 2.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-05/0.7302, allocations: 28 kB / 0.593 GB, free: 2.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06732/0.7975, allocations: 18.97 MB / 0.6116 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.864e-05/0.7976, allocations: 55.94 kB / 0.6116 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04619/0.8438, allocations: 12 MB / 0.6233 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3376/1.181, allocations: 10.29 MB / 0.6334 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/1.187, allocations: 1.299 MB / 0.6347 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/1.218, allocations: 17.28 MB / 0.6515 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006598/1.225, allocations: 443.3 kB / 0.6519 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.227, allocations: 320 kB / 0.6523 GB, free: 134.3 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.005162/1.232, allocations: 2.02 MB / 0.6542 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/1.232, allocations: 272.2 kB / 0.6545 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.243, allocations: 5.115 MB / 0.6595 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008367/1.251, allocations: 4.389 MB / 0.6638 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.251, allocations: 4.594 kB / 0.6638 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.251, allocations: 7.875 kB / 0.6638 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.274, allocations: 12.93 MB / 0.6764 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.274, allocations: 6.844 kB / 0.6764 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.276, allocations: 461.5 kB / 0.6769 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/1.279, allocations: 0.9388 MB / 0.6778 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.279, allocations: 47.23 kB / 0.6778 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/1.285, allocations: 5.58 MB / 0.6833 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008059/1.286, allocations: 1.472 MB / 0.6847 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.297, allocations: 8.36 MB / 0.6929 GB, free: 110.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.298, allocations: 340.4 kB / 0.6932 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006483/1.299, allocations: 47.98 kB / 0.6932 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.301, allocations: 203 kB / 0.6934 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.301, allocations: 139.8 kB / 0.6936 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.301, allocations: 65.05 kB / 0.6936 GB, free: 110 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003074/1.304, allocations: 1.885 MB / 0.6955 GB, free: 108.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.304, allocations: 0 / 0.6955 GB, free: 108.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006246/1.311, allocations: 1.132 MB / 0.6966 GB, free: 107 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.01115/1.322, allocations: 10.95 MB / 0.7073 GB, free: 95.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009759/1.332, allocations: 6.559 MB / 0.7137 GB, free: 89.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.332, allocations: 0 / 0.7137 GB, free: 89.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003146/1.335, allocations: 2.529 MB / 0.7161 GB, free: 86.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.337, allocations: 346.8 kB / 0.7165 GB, free: 86.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3589/1.696, allocations: 111.7 MB / 0.8256 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/1.701, allocations: 3.247 MB / 0.8287 GB, free: 153 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00764/1.709, allocations: 2.062 MB / 0.8307 GB, free: 153 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/1.713, allocations: 1.682 MB / 0.8324 GB, free: 153 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/1.713, allocations: 0 / 0.8324 GB, free: 153 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/1.852, allocations: 80.38 MB / 0.9109 GB, free: 94.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.852, allocations: 210.6 kB / 0.9111 GB, free: 94.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/5.863, allocations: 0 / 0.9111 GB, free: 94.6 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