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.001631/0.001631, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001533/0.001533, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.446/1.446, allocations: 230.2 MB / 256.8 MB, free: 8.582 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.2439/0.2439, allocations: 46.89 MB / 360 MB, free: 4.715 MB / 286.1 MB " [Timeout remaining time 179] 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.002327/0.002327, allocations: 79.86 kB / 0.4951 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3397, allocations: 65.97 MB / 0.5595 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01412/0.3539, allocations: 18.25 MB / 0.5773 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3645, allocations: 5.331 MB / 0.5826 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.3677, allocations: 106.7 kB / 0.5827 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005769/0.3734, allocations: 3.103 MB / 0.5857 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.3805, allocations: 2.616 MB / 0.5882 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.383, allocations: 1.022 MB / 0.5892 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.3949, allocations: 7.672 MB / 0.5967 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.4001, allocations: 3.278 MB / 0.5999 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.4047, allocations: 2.263 MB / 0.6021 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005471/0.4102, allocations: 3.517 MB / 0.6056 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.4118, allocations: 451.8 kB / 0.606 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.4156, allocations: 1.342 MB / 0.6073 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.4185, allocations: 2.871 MB / 0.6101 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004824/0.4233, allocations: 3.219 MB / 0.6133 GB, free: 140 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.4383, allocations: 10.08 MB / 0.6231 GB, free: 6.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4383, allocations: 0 / 0.6231 GB, free: 6.012 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.4383, allocations: 7.938 kB / 0.6231 GB, free: 6.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003996/0.4387, allocations: 0 / 0.6231 GB, free: 6.004 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.02083/0.4596, allocations: 7.506 MB / 0.6304 GB, free: 14.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.4596, allocations: 12.03 kB / 0.6305 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003342/0.463, allocations: 1.01 MB / 0.6314 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04011/0.5031, allocations: 5.648 MB / 0.637 GB, free: 7.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.5181, allocations: 4.895 MB / 0.6417 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.5186, allocations: 324.4 kB / 0.642 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.5208, allocations: 435.6 kB / 0.6425 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/0.5526, allocations: 15.52 MB / 0.6576 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002905/0.5529, allocations: 59.55 kB / 0.6577 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/0.5545, allocations: 199.8 kB / 0.6579 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007092/0.5616, allocations: 3.376 MB / 0.6612 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03274/0.5943, allocations: 14.7 MB / 0.6755 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09073/0.6851, allocations: 54.87 MB / 0.7291 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/0.7045, allocations: 7.807 MB / 0.7367 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006977/0.7115, allocations: 4.406 MB / 0.741 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.7139, allocations: 2.208 MB / 0.7432 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.714, allocations: 65.08 kB / 0.7432 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=367): time 6.061e-06/0.714, allocations: 0 / 0.7432 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.362/1.076, allocations: 39.64 MB / 0.782 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/1.076, allocations: 118.2 kB / 0.7821 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008878/1.085, allocations: 4.323 MB / 0.7863 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.086, allocations: 89.02 kB / 0.7864 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.089, allocations: 3.962 MB / 0.7903 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.092, allocations: 1.554 MB / 0.7918 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00367/1.095, allocations: 1.532 MB / 0.7933 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/1.095, allocations: 303.4 kB / 0.7936 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007387/1.103, allocations: 3.945 MB / 0.7974 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.113, allocations: 7.688 MB / 0.8049 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.129, allocations: 12.65 MB / 0.8173 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001874/1.13, allocations: 38.25 kB / 0.8173 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.02738/1.157, allocations: 14.17 MB / 0.8311 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.157, allocations: 58.03 kB / 0.8312 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/1.157, allocations: 129.6 kB / 0.8313 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00762/1.165, allocations: 2.677 MB / 0.8339 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006491/1.171, allocations: 1.758 MB / 0.8357 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.188, allocations: 15.23 MB / 0.8505 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006719/1.195, allocations: 491.6 kB / 0.851 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/1.197, allocations: 423.9 kB / 0.8514 GB, free: 115.3 MB / 0.5919 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.00601/1.203, allocations: 2.87 MB / 0.8542 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.204, allocations: 484.8 kB / 0.8547 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/1.222, allocations: 10.52 MB / 0.8649 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/1.222, allocations: 66.95 kB / 0.865 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/1.222, allocations: 12 kB / 0.865 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-05/1.222, allocations: 15.94 kB / 0.865 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03882/1.261, allocations: 21.21 MB / 0.8858 GB, free: 79.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-05/1.261, allocations: 13 kB / 0.8858 GB, free: 79.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/1.264, allocations: 0.6786 MB / 0.8864 GB, free: 79.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00703/1.271, allocations: 2.477 MB / 0.8888 GB, free: 76.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.273, allocations: 83.98 kB / 0.8889 GB, free: 76.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.288, allocations: 13.83 MB / 0.9024 GB, free: 62.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.288, allocations: 19.88 kB / 0.9024 GB, free: 62.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.311, allocations: 15.1 MB / 0.9172 GB, free: 47.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.313, allocations: 0.5135 MB / 0.9177 GB, free: 46.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/1.314, allocations: 79.69 kB / 0.9178 GB, free: 46.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/1.318, allocations: 299.5 kB / 0.9181 GB, free: 46.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.319, allocations: 273.9 kB / 0.9183 GB, free: 45.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004062/1.32, allocations: 108 kB / 0.9184 GB, free: 45.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004353/1.324, allocations: 2.71 MB / 0.9211 GB, free: 43.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.324, allocations: 0 / 0.9211 GB, free: 43.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008468/1.332, allocations: 1.625 MB / 0.9227 GB, free: 41.49 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.02415/1.357, allocations: 15.8 MB / 0.9381 GB, free: 25.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01635/1.373, allocations: 9.45 MB / 0.9473 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/1.373, allocations: 1 kB / 0.9473 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006834/1.38, allocations: 4.01 MB / 0.9512 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/1.386, allocations: 0.7374 MB / 0.9519 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4513/1.838, allocations: 70.28 MB / 1.021 GB, free: 211.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00616/1.844, allocations: 4.537 MB / 1.025 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007573/1.851, allocations: 2.721 MB / 1.028 GB, free: 211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004646/1.856, allocations: 2.826 MB / 1.03 GB, free: 210.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.493e-06/1.856, allocations: 2.156 kB / 1.03 GB, free: 210.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.028, allocations: 114.7 MB / 1.142 GB, free: 126.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.73/23.75, allocations: 11.86 kB / 1.142 GB, free: 126.3 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: 26.870931077050045] 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.902798520983197 23.911995591 23.471169095 Calling exit ...