Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.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.00142/0.00142, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001565/0.001565, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.2019/0.2019, allocations: 46.9 MB / 359.3 MB, free: 4.996 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.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",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.002161/0.002161, allocations: 87.84 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2669, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01118/0.278, allocations: 9.64 MB / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006081/0.2841, allocations: 3.249 MB / 0.571 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2852, allocations: 55.81 kB / 0.5711 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.29, allocations: 2.683 MB / 0.5737 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.2915, allocations: 0.6258 MB / 0.5743 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2928, allocations: 0.5107 MB / 0.5748 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.2948, allocations: 1.48 MB / 0.5762 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.2975, allocations: 2.131 MB / 0.5783 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.299, allocations: 0.9504 MB / 0.5792 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.3009, allocations: 1.344 MB / 0.5806 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005149/0.3014, allocations: 272 kB / 0.5808 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3027, allocations: 0.8231 MB / 0.5816 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.3037, allocations: 1.184 MB / 0.5828 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.3049, allocations: 1.345 MB / 0.5841 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.3094, allocations: 4.445 MB / 0.5884 GB, free: 6.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3094, allocations: 0 / 0.5884 GB, free: 6.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3094, allocations: 0 / 0.5884 GB, free: 6.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.392e-05/0.3094, allocations: 0 / 0.5884 GB, free: 6.332 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.004731/0.3142, allocations: 2.835 MB / 0.5912 GB, free: 3.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3142, allocations: 12.03 kB / 0.5912 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004817/0.3147, allocations: 422.9 kB / 0.5916 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.3158, allocations: 366.8 kB / 0.592 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.3176, allocations: 1.251 MB / 0.5932 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3178, allocations: 168.4 kB / 0.5933 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.3181, allocations: 227.9 kB / 0.5936 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009475/0.3276, allocations: 5.608 MB / 0.599 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.3276, allocations: 11.88 kB / 0.5991 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.3278, allocations: 95.95 kB / 0.5991 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.3289, allocations: 0.7811 MB / 0.5999 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008782/0.3377, allocations: 4.299 MB / 0.6041 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.3562, allocations: 17.08 MB / 0.6208 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.36, allocations: 1.212 MB / 0.622 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.3606, allocations: 358.3 kB / 0.6223 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.3625, allocations: 2.137 MB / 0.6244 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3625, allocations: 47 kB / 0.6244 GB, free: 204 kB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 2.284e-06/0.3625, allocations: 3.938 kB / 0.6245 GB, free: 200 kB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.0198/0.3823, allocations: 5.397 MB / 0.6297 GB, free: 10.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3824, allocations: 64.41 kB / 0.6298 GB, free: 10.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.3845, allocations: 1.725 MB / 0.6315 GB, free: 8.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.3846, allocations: 41.7 kB / 0.6315 GB, free: 8.934 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3856, allocations: 1.554 MB / 0.633 GB, free: 7.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.3859, allocations: 428.6 kB / 0.6334 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006071/0.3865, allocations: 0.5247 MB / 0.6339 GB, free: 6.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3866, allocations: 301.1 kB / 0.6342 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3878, allocations: 0.782 MB / 0.635 GB, free: 5.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.3901, allocations: 2.223 MB / 0.6372 GB, free: 2.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.3938, allocations: 3.279 MB / 0.6404 GB, free: 14.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.3938, allocations: 12 kB / 0.6404 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004315/0.3982, allocations: 3.013 MB / 0.6433 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.3982, allocations: 27.94 kB / 0.6434 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/0.3982, allocations: 52 kB / 0.6434 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.252e-05/0.3983, allocations: 72.06 kB / 0.6435 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.4, allocations: 0.6043 MB / 0.6441 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.249e-05/0.4001, allocations: 103.6 kB / 0.6442 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.4013, allocations: 111.9 kB / 0.6443 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.4014, allocations: 148 kB / 0.6444 GB, free: 10.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (340): * Single equations (assignments): 340 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001389/0.4028, allocations: 1.133 MB / 0.6455 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.403, allocations: 170.8 kB / 0.6457 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.4034, allocations: 208.8 kB / 0.6459 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.4034, allocations: 16.08 kB / 0.6459 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4034, allocations: 0 / 0.6459 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4034, allocations: 3.984 kB / 0.6459 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.4113, allocations: 6.081 MB / 0.6518 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.4113, allocations: 24 kB / 0.6519 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.412, allocations: 203.7 kB / 0.6521 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.412, allocations: 28 kB / 0.6521 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.412, allocations: 40.59 kB / 0.6521 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-05/0.4121, allocations: 47.73 kB / 0.6522 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.066e-05/0.4121, allocations: 31.88 kB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.414, allocations: 1.683 MB / 0.6538 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.4142, allocations: 263.9 kB / 0.6541 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.4144, allocations: 51.92 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.415, allocations: 36 kB / 0.6542 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.4151, allocations: 143.3 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.4152, allocations: 48 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001397/0.4166, allocations: 1.143 MB / 0.6555 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4166, allocations: 0 / 0.6555 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001761/0.4184, allocations: 471.9 kB / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * 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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002384/0.4207, allocations: 2.314 MB / 0.6582 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.4233, allocations: 1.75 MB / 0.6599 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4233, allocations: 4 kB / 0.6599 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.4241, allocations: 479.8 kB / 0.6603 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.4254, allocations: 280 kB / 0.6606 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/0.451, allocations: 19.78 MB / 0.6799 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.4532, allocations: 2.073 MB / 0.682 GB, free: 380 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001482/0.4547, allocations: 0.675 MB / 0.6826 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.4559, allocations: 0.9484 MB / 0.6835 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.4559, allocations: 0 / 0.6835 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/0.5242, allocations: 35.29 MB / 0.718 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.53, allocations: 3.984 kB / 0.718 GB, free: 11.61 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP_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_JointSSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.291812570998445]