Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 218.1 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.196/0.196, allocations: 46.9 MB / 359.3 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 83.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2512, allocations: 65.98 MB / 0.5584 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.012/0.2632, allocations: 11.83 MB / 0.57 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006943/0.2701, allocations: 4.101 MB / 0.574 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.2709, allocations: 63.88 kB / 0.574 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.2729, allocations: 1.202 MB / 0.5752 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.2758, allocations: 1.767 MB / 0.5769 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2768, allocations: 0.5574 MB / 0.5775 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004371/0.2812, allocations: 4.031 MB / 0.5814 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.2828, allocations: 1.457 MB / 0.5828 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.284, allocations: 1.156 MB / 0.584 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.2861, allocations: 1.857 MB / 0.5858 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.2864, allocations: 216 kB / 0.586 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.2885, allocations: 1.338 MB / 0.5873 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2898, allocations: 1.608 MB / 0.5889 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2913, allocations: 1.832 MB / 0.5906 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005741/0.297, allocations: 6.22 MB / 0.5967 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2971, allocations: 0 / 0.5967 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2971, allocations: 0 / 0.5967 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.71e-05/0.2971, allocations: 0 / 0.5967 GB, free: 13.78 MB / 446.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.0063/0.3034, allocations: 4.212 MB / 0.6008 GB, free: 9.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3035, allocations: 12.03 kB / 0.6008 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007182/0.3042, allocations: 0.6914 MB / 0.6015 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/0.3235, allocations: 6.179 MB / 0.6076 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.3285, allocations: 2.631 MB / 0.6101 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.3286, allocations: 180.4 kB / 0.6103 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007605/0.3294, allocations: 311.7 kB / 0.6106 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.3445, allocations: 10.72 MB / 0.6211 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.3445, allocations: 23.81 kB / 0.6211 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.3449, allocations: 115.8 kB / 0.6212 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/0.3485, allocations: 2.467 MB / 0.6236 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.366, allocations: 10.15 MB / 0.6335 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/0.4106, allocations: 35.56 MB / 0.6682 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.4212, allocations: 5.395 MB / 0.6735 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.424, allocations: 2.185 MB / 0.6756 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/0.4256, allocations: 1.884 MB / 0.6775 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4256, allocations: 48.56 kB / 0.6775 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 4.008e-06/0.4257, allocations: 0 / 0.6775 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03212/0.4578, allocations: 15.03 MB / 0.6922 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001281/0.4591, allocations: 1.602 MB / 0.6938 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.4624, allocations: 2.811 MB / 0.6965 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.4627, allocations: 53.69 kB / 0.6966 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.4644, allocations: 2.791 MB / 0.6993 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/0.4653, allocations: 0.8797 MB / 0.7002 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4667, allocations: 1.12 MB / 0.7012 GB, free: 360 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4668, allocations: 305.1 kB / 0.7015 GB, free: 52 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/0.4703, allocations: 2.626 MB / 0.7041 GB, free: 13.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/0.476, allocations: 5.635 MB / 0.7096 GB, free: 6.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.4863, allocations: 8.933 MB / 0.7183 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.43e-05/0.4863, allocations: 32 kB / 0.7184 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.2673/0.7536, allocations: 17.12 MB / 0.7351 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.7536, allocations: 47.09 kB / 0.7351 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03958/0.7932, allocations: 10.61 MB / 0.7455 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04404/0.8372, allocations: 8.643 MB / 0.7539 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.841, allocations: 1.299 MB / 0.7552 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/0.8633, allocations: 17.81 MB / 0.7726 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.8668, allocations: 419.6 kB / 0.773 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/0.8672, allocations: 316 kB / 0.7733 GB, free: 122.9 MB / 0.5606 GB 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00205/0.8693, allocations: 2.02 MB / 0.7753 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.8696, allocations: 286.5 kB / 0.7755 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006489/0.8761, allocations: 5.096 MB / 0.7805 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005533/0.8816, allocations: 4.399 MB / 0.7848 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8816, allocations: 7.828 kB / 0.7848 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.8816, allocations: 7.969 kB / 0.7848 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.8955, allocations: 12.9 MB / 0.7974 GB, free: 98.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.8955, allocations: 8 kB / 0.7974 GB, free: 98.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.8973, allocations: 463.2 kB / 0.7979 GB, free: 97.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.8997, allocations: 0.9455 MB / 0.7988 GB, free: 97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.8998, allocations: 47.98 kB / 0.7988 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004558/0.9044, allocations: 5.844 MB / 0.8046 GB, free: 90.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005915/0.905, allocations: 1.537 MB / 0.8061 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007923/0.9129, allocations: 7.744 MB / 0.8136 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.9133, allocations: 341.8 kB / 0.8139 GB, free: 81.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.9136, allocations: 44 kB / 0.814 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.9149, allocations: 195.7 kB / 0.8142 GB, free: 81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.9151, allocations: 148.9 kB / 0.8143 GB, free: 80.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9153, allocations: 63.97 kB / 0.8144 GB, free: 80.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001603/0.9169, allocations: 1.729 MB / 0.8161 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9169, allocations: 0 / 0.8161 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003218/0.9201, allocations: 1.081 MB / 0.8171 GB, free: 77.99 MB / 0.5606 GB 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008351/0.9284, allocations: 8.394 MB / 0.8253 GB, free: 69.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008358/0.9368, allocations: 6.295 MB / 0.8315 GB, free: 63.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.9368, allocations: 320 / 0.8315 GB, free: 63.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.9395, allocations: 2.372 MB / 0.8338 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.9412, allocations: 383 kB / 0.8341 GB, free: 60.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1116/1.053, allocations: 56.84 MB / 0.8897 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/1.056, allocations: 3.159 MB / 0.8927 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003975/1.06, allocations: 2.052 MB / 0.8947 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/1.062, allocations: 1.663 MB / 0.8964 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.062, allocations: 0 / 0.8964 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.182, allocations: 71.92 MB / 0.9666 GB, free: 256 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/18.88, allocations: 7.062 kB / 0.9666 GB, free: 252 kB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.60307842399925]