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.001637/0.001637, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.002003/0.002003, allocations: 209.9 kB / 24.53 MB, free: 3.891 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2633/0.2633, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.002361/0.002361, allocations: 79.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3641, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.021/0.3851, allocations: 18.26 MB / 0.5793 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.397, allocations: 5.327 MB / 0.5845 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.4002, allocations: 123.4 kB / 0.5847 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006476/0.4067, allocations: 3.11 MB / 0.5877 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007651/0.4144, allocations: 2.623 MB / 0.5903 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.4171, allocations: 1.022 MB / 0.5913 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4292, allocations: 7.683 MB / 0.5988 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006665/0.4359, allocations: 3.602 MB / 0.6023 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005205/0.4411, allocations: 2.289 MB / 0.6045 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006067/0.4471, allocations: 3.52 MB / 0.608 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.4486, allocations: 452 kB / 0.6084 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.452, allocations: 1.338 MB / 0.6097 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003786/0.4558, allocations: 2.874 MB / 0.6125 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005436/0.4612, allocations: 3.219 MB / 0.6156 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4747, allocations: 10.08 MB / 0.6255 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4748, allocations: 0 / 0.6255 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4748, allocations: 3.938 kB / 0.6255 GB, free: 2.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000337/0.4751, allocations: 0 / 0.6255 GB, free: 2.52 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.02058/0.4957, allocations: 7.444 MB / 0.6328 GB, free: 11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4957, allocations: 8.031 kB / 0.6328 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002816/0.4985, allocations: 1.01 MB / 0.6338 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02805/0.5266, allocations: 5.644 MB / 0.6393 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.5384, allocations: 4.807 MB / 0.644 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.5388, allocations: 318.9 kB / 0.6443 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.5411, allocations: 439.6 kB / 0.6447 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/0.5736, allocations: 15.52 MB / 0.6598 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/0.5739, allocations: 59.58 kB / 0.6599 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.5752, allocations: 195.8 kB / 0.6601 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007108/0.5823, allocations: 3.38 MB / 0.6634 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/0.6175, allocations: 14.7 MB / 0.6777 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09914/0.7167, allocations: 54.7 MB / 0.7312 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3048/1.021, allocations: 6.901 MB / 0.7379 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005783/1.027, allocations: 4.411 MB / 0.7422 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.029, allocations: 0.6649 MB / 0.7428 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/1.029, allocations: 64.61 kB / 0.7429 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 6.933e-06/1.029, allocations: 0 / 0.7429 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.09575/1.124, allocations: 39.36 MB / 0.7813 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.124, allocations: 116 kB / 0.7815 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/1.129, allocations: 4.323 MB / 0.7857 GB, free: 118 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008218/1.13, allocations: 85.7 kB / 0.7858 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.132, allocations: 3.969 MB / 0.7896 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001508/1.133, allocations: 1.552 MB / 0.7912 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/1.135, allocations: 1.529 MB / 0.7926 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/1.135, allocations: 305.1 kB / 0.7929 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004619/1.14, allocations: 3.942 MB / 0.7968 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/1.147, allocations: 7.701 MB / 0.8043 GB, free: 97.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.159, allocations: 12.65 MB / 0.8167 GB, free: 83.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.159, allocations: 36 kB / 0.8167 GB, free: 83.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.02314/1.182, allocations: 14.17 MB / 0.8305 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/1.182, allocations: 60 kB / 0.8306 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/1.183, allocations: 128 kB / 0.8307 GB, free: 68.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006914/1.19, allocations: 2.682 MB / 0.8333 GB, free: 66.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005972/1.196, allocations: 1.758 MB / 0.835 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.212, allocations: 15.02 MB / 0.8497 GB, free: 49.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/1.218, allocations: 495.6 kB / 0.8502 GB, free: 48.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.219, allocations: 431.7 kB / 0.8506 GB, free: 48.18 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.004641/1.224, allocations: 2.87 MB / 0.8534 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009297/1.225, allocations: 488.8 kB / 0.8539 GB, free: 44.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.241, allocations: 10.52 MB / 0.8641 GB, free: 34.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.942e-05/1.241, allocations: 71.92 kB / 0.8642 GB, free: 34.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.241, allocations: 8 kB / 0.8642 GB, free: 34.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.887e-05/1.241, allocations: 15.94 kB / 0.8642 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03422/1.275, allocations: 21.17 MB / 0.8849 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/1.275, allocations: 12 kB / 0.8849 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.279, allocations: 0.6903 MB / 0.8856 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006663/1.285, allocations: 2.475 MB / 0.888 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009388/1.286, allocations: 79.98 kB / 0.8881 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.303, allocations: 13.62 MB / 0.9014 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/1.303, allocations: 15.94 kB / 0.9014 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/1.333, allocations: 15.11 MB / 0.9162 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.335, allocations: 444.7 kB / 0.9166 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/1.336, allocations: 79.73 kB / 0.9167 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/1.34, allocations: 307.5 kB / 0.9169 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.341, allocations: 269.9 kB / 0.9172 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005024/1.342, allocations: 112 kB / 0.9173 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005233/1.347, allocations: 2.706 MB / 0.92 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.347, allocations: 4 kB / 0.92 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007795/1.355, allocations: 1.625 MB / 0.9215 GB, free: 6.742 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.03012/1.385, allocations: 15.81 MB / 0.937 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01875/1.404, allocations: 9.439 MB / 0.9462 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/1.404, allocations: 4 kB / 0.9462 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008411/1.412, allocations: 4.014 MB / 0.9501 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/1.417, allocations: 0.7336 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.4313/1.848, allocations: 70.28 MB / 1.019 GB, free: 212.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/1.854, allocations: 4.539 MB / 1.024 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006044/1.861, allocations: 2.721 MB / 1.027 GB, free: 205.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004758/1.865, allocations: 2.819 MB / 1.029 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.455e-06/1.865, allocations: 4 kB / 1.029 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/2.035, allocations: 120.4 MB / 1.147 GB, free: 82.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/24.24, allocations: 17.91 kB / 1.147 GB, free: 82.51 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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: 27.384921826887876] 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'] 24.39738761726767 24.413690257 23.935214861 Calling exit ...