Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.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.001682/0.001682, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002356/0.002356, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.553/1.553, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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.2653/0.2653, allocations: 46.89 MB / 357.4 MB, free: 10.62 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.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",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.002291/0.002291, allocations: 79.86 kB / 0.4912 GB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.154, allocations: 65.98 MB / 0.5557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01672/0.1707, allocations: 13.52 MB / 0.5689 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1813, allocations: 4.233 MB / 0.573 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.1843, allocations: 67.88 kB / 0.5731 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.1893, allocations: 1.985 MB / 0.575 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.1952, allocations: 1.934 MB / 0.5769 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.1969, allocations: 0.5498 MB / 0.5774 GB, free: 80 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006686/0.2036, allocations: 4.051 MB / 0.5814 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.2086, allocations: 2.483 MB / 0.5838 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.2116, allocations: 1.448 MB / 0.5852 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.2156, allocations: 2.204 MB / 0.5874 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.2168, allocations: 304 kB / 0.5877 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.22, allocations: 1.038 MB / 0.5887 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.2229, allocations: 1.897 MB / 0.5905 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004559/0.2274, allocations: 2.24 MB / 0.5927 GB, free: 336 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3017/0.5291, allocations: 7.314 MB / 0.5999 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5291, allocations: 1.062 kB / 0.5999 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5291, allocations: 0 / 0.5999 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002489/0.5294, allocations: 0 / 0.5999 GB, free: 10.15 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01374/0.5431, allocations: 5.021 MB / 0.6048 GB, free: 8.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5432, allocations: 10.69 kB / 0.6048 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002433/0.5456, allocations: 0.8177 MB / 0.6056 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.5567, allocations: 3.176 MB / 0.6087 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007381/0.5641, allocations: 2.407 MB / 0.611 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.5644, allocations: 237.6 kB / 0.6113 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.5659, allocations: 310.9 kB / 0.6115 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.5855, allocations: 12.08 MB / 0.6233 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5856, allocations: 35.97 kB / 0.6234 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.5862, allocations: 145.3 kB / 0.6235 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003893/0.59, allocations: 2.837 MB / 0.6263 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/0.6233, allocations: 11.35 MB / 0.6374 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07618/0.6995, allocations: 41.12 MB / 0.6775 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.7125, allocations: 5.83 MB / 0.6832 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004599/0.7171, allocations: 2.752 MB / 0.6859 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/0.7194, allocations: 1.883 MB / 0.6877 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/0.7194, allocations: 57.44 kB / 0.6878 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 7.214e-06/0.7195, allocations: 3.75 kB / 0.6878 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.06016/0.7796, allocations: 20.19 MB / 0.7075 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.7797, allocations: 77.41 kB / 0.7076 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006854/0.7865, allocations: 3.042 MB / 0.7106 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007909/0.7873, allocations: 61.7 kB / 0.7106 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003109/0.7904, allocations: 3.106 MB / 0.7137 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/0.7924, allocations: 1.072 MB / 0.7147 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/0.7966, allocations: 1.195 MB / 0.7159 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7967, allocations: 302.1 kB / 0.7162 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005893/0.8026, allocations: 2.85 MB / 0.7189 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009774/0.8124, allocations: 6.016 MB / 0.7248 GB, free: 15.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.8276, allocations: 9.662 MB / 0.7343 GB, free: 4.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.8277, allocations: 32 kB / 0.7343 GB, free: 4.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02333/0.851, allocations: 10.02 MB / 0.7441 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.8512, allocations: 55.75 kB / 0.7441 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/0.8514, allocations: 111.9 kB / 0.7442 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.8553, allocations: 1.359 MB / 0.7456 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005754/0.861, allocations: 1.372 MB / 0.7469 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.8736, allocations: 7.817 MB / 0.7545 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/0.8793, allocations: 363.7 kB / 0.7549 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/0.8812, allocations: 347.8 kB / 0.7552 GB, free: 15.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.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.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 (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007793/0.889, allocations: 2.293 MB / 0.7574 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/0.8903, allocations: 321.8 kB / 0.7578 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.9053, allocations: 6.607 MB / 0.7642 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/0.9054, allocations: 51.98 kB / 0.7643 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/0.9055, allocations: 4 kB / 0.7643 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-05/0.9055, allocations: 11.95 kB / 0.7643 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03384/0.9393, allocations: 13.88 MB / 0.7778 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.662e-05/0.9394, allocations: 4 kB / 0.7778 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/0.9419, allocations: 455.3 kB / 0.7783 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/0.9456, allocations: 1.215 MB / 0.7795 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007509/0.9464, allocations: 48 kB / 0.7795 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.9571, allocations: 7.026 MB / 0.7864 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/0.9571, allocations: 11.94 kB / 0.7864 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/0.9769, allocations: 9.871 MB / 0.796 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.978, allocations: 363 kB / 0.7964 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/0.9793, allocations: 51.98 kB / 0.7964 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/0.9818, allocations: 189.9 kB / 0.7966 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/0.9827, allocations: 169.5 kB / 0.7967 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005147/0.9832, allocations: 78.61 kB / 0.7968 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00486/0.9881, allocations: 1.878 MB / 0.7987 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9881, allocations: 0 / 0.7987 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00831/0.9964, allocations: 1.099 MB / 0.7997 GB, free: 0.9258 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02278/1.019, allocations: 10.54 MB / 0.81 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01461/1.034, allocations: 6.676 MB / 0.8165 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.034, allocations: 0 / 0.8165 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005505/1.039, allocations: 2.657 MB / 0.8191 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.043, allocations: 426.1 kB / 0.8195 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3806/1.424, allocations: 48.96 MB / 0.8674 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/1.428, allocations: 3.574 MB / 0.8708 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004413/1.432, allocations: 2.197 MB / 0.873 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003034/1.435, allocations: 2.073 MB / 0.875 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/1.435, allocations: 2.953 kB / 0.875 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.539, allocations: 70.55 MB / 0.9439 GB, free: 131 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.59/25.12, allocations: 14.84 kB / 0.9439 GB, free: 131 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.31183509575203] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 25.253110104240477 25.272530215 24.739533066 Calling exit ...