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.001427/0.001427, allocations: 105 kB / 19.74 MB, free: 2.453 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.001554/0.001554, allocations: 218 kB / 22.92 MB, free: 5.195 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.312/1.312, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] 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.2036/0.2036, allocations: 46.89 MB / 359.3 MB, free: 4.973 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.002103/0.002103, allocations: 75.88 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2561, allocations: 65.99 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0128/0.2689, allocations: 12.35 MB / 0.5705 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.2758, allocations: 3.976 MB / 0.5744 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2769, allocations: 59.88 kB / 0.5744 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.2792, allocations: 1.343 MB / 0.5757 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.2823, allocations: 1.77 MB / 0.5775 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.2833, allocations: 499 kB / 0.5779 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.2871, allocations: 3.602 MB / 0.5814 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.2888, allocations: 1.617 MB / 0.583 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.29, allocations: 1.195 MB / 0.5842 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.292, allocations: 1.888 MB / 0.586 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.2924, allocations: 236 kB / 0.5863 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.2939, allocations: 0.9673 MB / 0.5872 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.2951, allocations: 1.612 MB / 0.5888 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.2967, allocations: 1.882 MB / 0.5906 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.3026, allocations: 6.212 MB / 0.5967 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3026, allocations: 3.984 kB / 0.5967 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3026, allocations: 0 / 0.5967 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.794e-05/0.3027, allocations: 0 / 0.5967 GB, free: 13.83 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.006342/0.3091, allocations: 4.253 MB / 0.6008 GB, free: 9.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3091, allocations: 8.031 kB / 0.6009 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000765/0.3099, allocations: 0.7121 MB / 0.6015 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.32, allocations: 3.11 MB / 0.6046 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.3234, allocations: 2.1 MB / 0.6066 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.3235, allocations: 189 kB / 0.6068 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004982/0.324, allocations: 255.7 kB / 0.6071 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.3377, allocations: 10.48 MB / 0.6173 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/0.3378, allocations: 27.81 kB / 0.6173 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/0.3381, allocations: 119.8 kB / 0.6174 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/0.3422, allocations: 2.553 MB / 0.6199 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.3579, allocations: 9.923 MB / 0.6296 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04101/0.3989, allocations: 34.33 MB / 0.6631 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008928/0.4078, allocations: 4.972 MB / 0.668 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.4105, allocations: 2.118 MB / 0.6701 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/0.4122, allocations: 1.876 MB / 0.6719 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4122, allocations: 52.55 kB / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 3.607e-06/0.4122, allocations: 0 / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.02966/0.4419, allocations: 14.07 MB / 0.6857 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.442, allocations: 69.41 kB / 0.6857 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.4452, allocations: 2.64 MB / 0.6883 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.4454, allocations: 57.69 kB / 0.6884 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.4472, allocations: 2.741 MB / 0.6911 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000799/0.448, allocations: 0.8874 MB / 0.6919 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.4493, allocations: 1.048 MB / 0.6929 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4494, allocations: 301.1 kB / 0.6932 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.4523, allocations: 2.2 MB / 0.6954 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/0.4576, allocations: 5.055 MB / 0.7003 GB, free: 176 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009058/0.4666, allocations: 7.965 MB / 0.7081 GB, free: 6.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.393e-05/0.4667, allocations: 28 kB / 0.7081 GB, free: 6.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0128/0.4795, allocations: 7.869 MB / 0.7158 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.4796, allocations: 48 kB / 0.7159 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/0.4797, allocations: 100 kB / 0.716 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.4818, allocations: 0.8009 MB / 0.7167 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/0.4855, allocations: 1.178 MB / 0.7179 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.4912, allocations: 4.512 MB / 0.7223 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.4941, allocations: 299.8 kB / 0.7226 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/0.4948, allocations: 296 kB / 0.7229 GB, free: 7.535 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.003233/0.498, allocations: 2.016 MB / 0.7248 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005125/0.4985, allocations: 274.1 kB / 0.7251 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/0.5065, allocations: 4.717 MB / 0.7297 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.728e-05/0.5066, allocations: 44 kB / 0.7297 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5066, allocations: 3.938 kB / 0.7297 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.5066, allocations: 11.95 kB / 0.7298 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2199/0.7265, allocations: 10.49 MB / 0.74 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.7265, allocations: 7.438 kB / 0.74 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.7278, allocations: 365.4 kB / 0.7403 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.7294, allocations: 0.6519 MB / 0.741 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.7295, allocations: 46.64 kB / 0.741 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.7329, allocations: 3.907 MB / 0.7448 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7329, allocations: 16.72 kB / 0.7449 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00696/0.7399, allocations: 7.139 MB / 0.7518 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.7403, allocations: 320.8 kB / 0.7521 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.7405, allocations: 46.5 kB / 0.7522 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009955/0.7415, allocations: 142.4 kB / 0.7523 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.7418, allocations: 135.6 kB / 0.7524 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.7419, allocations: 60.83 kB / 0.7525 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001527/0.7434, allocations: 1.621 MB / 0.7541 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7434, allocations: 0 / 0.7541 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002748/0.7461, allocations: 0.9168 MB / 0.755 GB, free: 142.9 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.007152/0.7533, allocations: 7.803 MB / 0.7626 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005014/0.7583, allocations: 5.142 MB / 0.7676 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7583, allocations: 0 / 0.7676 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.76, allocations: 1.879 MB / 0.7695 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.7615, allocations: 361.4 kB / 0.7698 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/0.7967, allocations: 39.78 MB / 0.8087 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.7988, allocations: 3.168 MB / 0.8117 GB, free: 80.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002812/0.8016, allocations: 1.961 MB / 0.8137 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.8031, allocations: 1.702 MB / 0.8153 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.8031, allocations: 0 / 0.8153 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07455/0.8777, allocations: 55.14 MB / 0.8692 GB, free: 22.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.67, allocations: 22.19 kB / 0.8692 GB, free: 22.34 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.213460815008148]