Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.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.001412/0.001412, 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.001578/0.001578, 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.318/1.318, allocations: 230.2 MB / 256.2 MB, free: 8.75 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.2031/0.2031, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",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.002219/0.002219, allocations: 79.88 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2667, allocations: 65.98 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01056/0.2773, allocations: 9.64 MB / 0.5678 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.2834, allocations: 3.476 MB / 0.5712 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007931/0.2842, allocations: 47.94 kB / 0.5713 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.2886, allocations: 2.629 MB / 0.5738 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.2899, allocations: 0.6258 MB / 0.5745 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.2915, allocations: 0.7249 MB / 0.5752 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.2931, allocations: 1.562 MB / 0.5767 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.2955, allocations: 2.182 MB / 0.5788 GB, free: 220 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.2967, allocations: 0.9933 MB / 0.5798 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2982, allocations: 1.375 MB / 0.5811 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003271/0.2985, allocations: 280 kB / 0.5814 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3001, allocations: 1.053 MB / 0.5824 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3011, allocations: 1.196 MB / 0.5836 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3023, allocations: 1.356 MB / 0.5849 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.3066, allocations: 4.682 MB / 0.5895 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3066, allocations: 0 / 0.5895 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3066, allocations: 0 / 0.5895 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.076e-05/0.3067, allocations: 0 / 0.5895 GB, free: 5.25 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.005417/0.3121, allocations: 2.987 MB / 0.5924 GB, free: 2.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3121, allocations: 8.031 kB / 0.5924 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004775/0.3126, allocations: 431.1 kB / 0.5928 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.3137, allocations: 378.8 kB / 0.5932 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.3158, allocations: 1.309 MB / 0.5945 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3159, allocations: 164.2 kB / 0.5946 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.3163, allocations: 219.9 kB / 0.5948 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.3284, allocations: 6.484 MB / 0.6012 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/0.3285, allocations: 15.88 kB / 0.6012 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.3287, allocations: 95.94 kB / 0.6013 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.3298, allocations: 0.8123 MB / 0.6021 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.3415, allocations: 5.474 MB / 0.6074 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.3635, allocations: 19 MB / 0.626 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.3702, allocations: 1.747 MB / 0.6277 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.3711, allocations: 0.6119 MB / 0.6283 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005925/0.377, allocations: 4.809 MB / 0.633 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3771, allocations: 39.12 kB / 0.633 GB, free: 7.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.445e-06/0.3771, allocations: 0 / 0.633 GB, free: 7.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=110): time 0.03751/0.4146, allocations: 8.77 MB / 0.6416 GB, free: 14.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4146, allocations: 72.28 kB / 0.6416 GB, free: 14.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.4169, allocations: 1.842 MB / 0.6434 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.417, allocations: 41.7 kB / 0.6435 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.418, allocations: 1.574 MB / 0.645 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.4184, allocations: 436.6 kB / 0.6454 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.4191, allocations: 0.5484 MB / 0.646 GB, free: 9.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4192, allocations: 305.1 kB / 0.6463 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4207, allocations: 1.024 MB / 0.6473 GB, free: 8.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/0.4234, allocations: 2.529 MB / 0.6497 GB, free: 5.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/0.4278, allocations: 3.815 MB / 0.6535 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.4279, allocations: 16 kB / 0.6535 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005142/0.433, allocations: 3.548 MB / 0.6569 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.433, allocations: 28 kB / 0.657 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.803e-05/0.4331, allocations: 56.16 kB / 0.657 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.008e-05/0.4332, allocations: 72 kB / 0.6571 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.4353, allocations: 0.659 MB / 0.6577 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.329e-05/0.4353, allocations: 111.5 kB / 0.6578 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4368, allocations: 151.9 kB / 0.658 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.437, allocations: 156 kB / 0.6581 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (352): * Single equations (assignments): 352 * 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.001427/0.4384, allocations: 1.129 MB / 0.6592 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.4386, allocations: 174.8 kB / 0.6594 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.4415, allocations: 1.761 MB / 0.6611 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4416, allocations: 16.03 kB / 0.6611 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4416, allocations: 11.88 kB / 0.6611 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4416, allocations: 3.984 kB / 0.6611 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.4496, allocations: 5.42 MB / 0.6664 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4496, allocations: 12 kB / 0.6665 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.4505, allocations: 207.7 kB / 0.6666 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/0.4505, allocations: 20 kB / 0.6667 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.4505, allocations: 36 kB / 0.6667 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/0.4506, allocations: 27.86 kB / 0.6667 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.4506, allocations: 19.94 kB / 0.6667 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.4527, allocations: 1.695 MB / 0.6684 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.453, allocations: 255.9 kB / 0.6686 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.4531, allocations: 35.98 kB / 0.6687 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.4538, allocations: 43.91 kB / 0.6687 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4539, allocations: 104.2 kB / 0.6688 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.454, allocations: 40 kB / 0.6689 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001495/0.4555, allocations: 1.207 MB / 0.67 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4555, allocations: 0 / 0.67 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001843/0.4573, allocations: 0.496 MB / 0.6705 GB, free: 14.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.002556/0.4599, allocations: 2.323 MB / 0.6728 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.463, allocations: 2.113 MB / 0.6749 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.463, allocations: 4 kB / 0.6749 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.4638, allocations: 0.5677 MB / 0.6754 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.465, allocations: 261.8 kB / 0.6757 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/0.4924, allocations: 21.16 MB / 0.6963 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.4948, allocations: 2.067 MB / 0.6983 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001763/0.4966, allocations: 0.7266 MB / 0.6991 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.498, allocations: 0.9678 MB / 0.7 GB, free: 14.22 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.498, allocations: 0 / 0.7 GB, free: 14.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2619/0.7599, allocations: 39.5 MB / 0.7386 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.88, allocations: 8.094 kB / 0.7386 GB, free: 160.7 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR_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_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.486252905990114]