Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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.001788/0.001788, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002014/0.002014, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.527/1.527, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2547/0.2547, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Revolute2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2",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.002303/0.002303, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3319, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02073/0.3526, allocations: 18.26 MB / 0.5793 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.365, allocations: 5.335 MB / 0.5846 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.3684, allocations: 127.4 kB / 0.5847 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006274/0.3747, allocations: 3.102 MB / 0.5877 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.3813, allocations: 2.622 MB / 0.5903 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3836, allocations: 1.03 MB / 0.5913 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.3946, allocations: 7.674 MB / 0.5988 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005903/0.4006, allocations: 3.617 MB / 0.6023 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/0.4055, allocations: 2.289 MB / 0.6045 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.4118, allocations: 3.513 MB / 0.608 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.4137, allocations: 452 kB / 0.6084 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.4175, allocations: 1.33 MB / 0.6097 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004167/0.4217, allocations: 2.882 MB / 0.6125 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006448/0.4281, allocations: 3.215 MB / 0.6156 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.443, allocations: 10.08 MB / 0.6255 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.443, allocations: 0 / 0.6255 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.443, allocations: 4 kB / 0.6255 GB, free: 2.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004007/0.4434, allocations: 0 / 0.6255 GB, free: 2.512 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01842/0.4619, allocations: 7.435 MB / 0.6328 GB, free: 11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.4619, allocations: 12.03 kB / 0.6328 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002405/0.4643, allocations: 1.01 MB / 0.6338 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/0.4917, allocations: 5.652 MB / 0.6393 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.5023, allocations: 4.795 MB / 0.644 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.5026, allocations: 316.4 kB / 0.6443 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.504, allocations: 439.6 kB / 0.6447 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/0.5344, allocations: 15.53 MB / 0.6598 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.5346, allocations: 63.53 kB / 0.6599 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009241/0.5356, allocations: 199.8 kB / 0.6601 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006487/0.542, allocations: 3.38 MB / 0.6634 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03205/0.5741, allocations: 14.69 MB / 0.6777 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09339/0.6675, allocations: 54.7 MB / 0.7312 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2948/0.9623, allocations: 6.902 MB / 0.7379 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005159/0.9674, allocations: 4.419 MB / 0.7422 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.9685, allocations: 0.6556 MB / 0.7429 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.9686, allocations: 64.92 kB / 0.7429 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 6.422e-06/0.9686, allocations: 0 / 0.7429 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.09409/1.063, allocations: 39.37 MB / 0.7814 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.063, allocations: 112 kB / 0.7815 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.067, allocations: 4.319 MB / 0.7857 GB, free: 118 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007477/1.068, allocations: 85.7 kB / 0.7858 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/1.07, allocations: 3.962 MB / 0.7896 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/1.071, allocations: 1.556 MB / 0.7912 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/1.073, allocations: 1.528 MB / 0.7926 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.073, allocations: 305.1 kB / 0.7929 GB, free: 111 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/1.077, allocations: 3.946 MB / 0.7968 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006339/1.084, allocations: 7.691 MB / 0.8043 GB, free: 97.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.096, allocations: 12.65 MB / 0.8167 GB, free: 83.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.349e-05/1.096, allocations: 36 kB / 0.8167 GB, free: 83.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.02648/1.122, allocations: 14.17 MB / 0.8305 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/1.123, allocations: 60 kB / 0.8306 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.123, allocations: 128 kB / 0.8307 GB, free: 68.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006927/1.13, allocations: 2.682 MB / 0.8333 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006082/1.136, allocations: 1.758 MB / 0.835 GB, free: 64.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/1.152, allocations: 15.02 MB / 0.8497 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007089/1.159, allocations: 499.5 kB / 0.8502 GB, free: 48.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.161, allocations: 423.9 kB / 0.8506 GB, free: 48.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (911): * Single equations (assignments): 903 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005803/1.167, allocations: 2.874 MB / 0.8534 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.168, allocations: 488.8 kB / 0.8539 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.184, allocations: 10.52 MB / 0.8641 GB, free: 34.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.592e-05/1.185, allocations: 67.52 kB / 0.8642 GB, free: 34.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.74e-05/1.185, allocations: 8 kB / 0.8642 GB, free: 34.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-05/1.185, allocations: 15.94 kB / 0.8642 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0348/1.219, allocations: 21.18 MB / 0.8849 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-05/1.219, allocations: 12 kB / 0.8849 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/1.223, allocations: 0.6878 MB / 0.8856 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008856/1.232, allocations: 2.48 MB / 0.888 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/1.233, allocations: 80 kB / 0.8881 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.252, allocations: 13.62 MB / 0.9014 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/1.252, allocations: 20.16 kB / 0.9014 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02991/1.282, allocations: 15.11 MB / 0.9162 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.283, allocations: 448.7 kB / 0.9166 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/1.285, allocations: 75.94 kB / 0.9167 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/1.288, allocations: 311.4 kB / 0.917 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/1.289, allocations: 273.8 kB / 0.9172 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/1.29, allocations: 112 kB / 0.9173 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004931/1.295, allocations: 2.706 MB / 0.92 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.295, allocations: 0 / 0.92 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007489/1.302, allocations: 1.624 MB / 0.9216 GB, free: 6.738 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02937/1.331, allocations: 15.81 MB / 0.937 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01725/1.349, allocations: 9.434 MB / 0.9462 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.349, allocations: 6 kB / 0.9462 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.007217/1.356, allocations: 4.01 MB / 0.9501 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.36, allocations: 0.7362 MB / 0.9508 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.364/1.724, allocations: 70.28 MB / 1.019 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/1.729, allocations: 4.54 MB / 1.024 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005507/1.734, allocations: 2.719 MB / 1.027 GB, free: 205.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00408/1.738, allocations: 2.823 MB / 1.029 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.124e-06/1.738, allocations: 0 / 1.029 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1646/1.903, allocations: 120.4 MB / 1.147 GB, free: 82.72 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.68/23.59, allocations: 7.547 kB / 1.147 GB, free: 82.71 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.693537655752152] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'revolute1.phi', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 23.740362017415464 23.759718082 23.312437624 Calling exit ...