Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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.001285/0.001285, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002155/0.002155, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2381/0.2381, allocations: 46.94 MB / 361.6 MB, free: 4.188 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.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",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.002395/0.002395, allocations: 87.84 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3703, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0145/0.3848, allocations: 12.35 MB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009283/0.3941, allocations: 3.985 MB / 0.5775 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.3964, allocations: 67.75 kB / 0.5775 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.3995, allocations: 1.354 MB / 0.5789 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.4044, allocations: 1.767 MB / 0.5806 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4059, allocations: 495 kB / 0.581 GB, free: 224 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.4116, allocations: 3.613 MB / 0.5846 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.4146, allocations: 1.829 MB / 0.5864 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.4169, allocations: 1.211 MB / 0.5875 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.4199, allocations: 1.892 MB / 0.5894 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007104/0.4206, allocations: 236 kB / 0.5896 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4228, allocations: 0.9751 MB / 0.5906 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.4249, allocations: 1.608 MB / 0.5921 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.4276, allocations: 1.882 MB / 0.594 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008325/0.4359, allocations: 6.212 MB / 0.6 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4359, allocations: 0 / 0.6 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4359, allocations: 0 / 0.6 GB, free: 12.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002011/0.4361, allocations: 0 / 0.6 GB, free: 12.67 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008282/0.4444, allocations: 4.178 MB / 0.6041 GB, free: 8.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4444, allocations: 8.031 kB / 0.6041 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009555/0.4454, allocations: 0.7122 MB / 0.6048 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.4554, allocations: 3.11 MB / 0.6079 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/0.4601, allocations: 2.034 MB / 0.6099 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.4603, allocations: 193 kB / 0.61 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008473/0.4612, allocations: 247.7 kB / 0.6103 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.4799, allocations: 10.48 MB / 0.6205 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.034e-05/0.48, allocations: 23.81 kB / 0.6205 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.4804, allocations: 123.8 kB / 0.6207 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004437/0.4849, allocations: 2.549 MB / 0.6231 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.5049, allocations: 9.926 MB / 0.6328 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05312/0.558, allocations: 34.2 MB / 0.6662 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00931/0.5673, allocations: 4.056 MB / 0.6702 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.5705, allocations: 2.111 MB / 0.6723 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.5716, allocations: 0.5634 MB / 0.6728 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.5717, allocations: 56.55 kB / 0.6729 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.45e-06/0.5717, allocations: 0 / 0.6729 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03201/0.6037, allocations: 13.9 MB / 0.6864 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.6038, allocations: 69.41 kB / 0.6865 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.6075, allocations: 2.64 MB / 0.6891 GB, free: 16 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/0.6078, allocations: 57.7 kB / 0.6891 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.6099, allocations: 2.734 MB / 0.6918 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.611, allocations: 0.8951 MB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.6125, allocations: 1.048 MB / 0.6937 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6127, allocations: 301.1 kB / 0.694 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/0.6161, allocations: 2.196 MB / 0.6961 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/0.6221, allocations: 5.059 MB / 0.7011 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.6329, allocations: 7.961 MB / 0.7089 GB, free: 8.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.633, allocations: 28 kB / 0.7089 GB, free: 8.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01524/0.6482, allocations: 7.865 MB / 0.7166 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.6483, allocations: 51.98 kB / 0.7166 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.6484, allocations: 104.8 kB / 0.7167 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.6508, allocations: 0.7967 MB / 0.7175 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/0.6551, allocations: 1.177 MB / 0.7186 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.6616, allocations: 4.411 MB / 0.7229 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/0.6651, allocations: 291.8 kB / 0.7232 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000957/0.6661, allocations: 308 kB / 0.7235 GB, free: 9.762 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (631): * Single equations (assignments): 624 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004687/0.6707, allocations: 2.012 MB / 0.7255 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.6714, allocations: 282.1 kB / 0.7258 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/0.6799, allocations: 4.706 MB / 0.7303 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.412e-05/0.68, allocations: 51.97 kB / 0.7304 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.68, allocations: 3.938 kB / 0.7304 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.68, allocations: 11.97 kB / 0.7304 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2797/0.9597, allocations: 10.47 MB / 0.7406 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.9597, allocations: 9.953 kB / 0.7407 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9611, allocations: 360.6 kB / 0.741 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.9628, allocations: 0.6554 MB / 0.7416 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.963, allocations: 43.5 kB / 0.7417 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.9667, allocations: 3.807 MB / 0.7454 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9667, allocations: 11.78 kB / 0.7454 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/0.9747, allocations: 7.137 MB / 0.7524 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/0.9754, allocations: 247.5 kB / 0.7526 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.9757, allocations: 40 kB / 0.7526 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9767, allocations: 144.4 kB / 0.7528 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.977, allocations: 142 kB / 0.7529 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.9771, allocations: 67.89 kB / 0.753 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00191/0.979, allocations: 1.619 MB / 0.7546 GB, free: 145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.979, allocations: 1.875 kB / 0.7546 GB, free: 145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003211/0.9822, allocations: 0.9089 MB / 0.7555 GB, free: 144.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008216/0.9904, allocations: 7.795 MB / 0.7631 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006166/0.9966, allocations: 5.139 MB / 0.7681 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9966, allocations: 0 / 0.7681 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.9986, allocations: 1.878 MB / 0.7699 GB, free: 130 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1, allocations: 362.2 kB / 0.7703 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04356/1.044, allocations: 39.79 MB / 0.8091 GB, free: 85.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/1.047, allocations: 3.159 MB / 0.8122 GB, free: 82.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003408/1.05, allocations: 1.965 MB / 0.8141 GB, free: 80.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/1.052, allocations: 1.706 MB / 0.8158 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.052, allocations: 2.953 kB / 0.8158 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09478/1.147, allocations: 59.11 MB / 0.8735 GB, free: 19.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.36/23.5, allocations: 7.766 kB / 0.8735 GB, free: 19.87 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_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_Revolute.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.588520733173937] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 23.626365174073726 23.644366121 23.204110105 Calling exit ...