Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.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.001156/0.001156, 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.001584/0.001584, allocations: 221.1 kB / 22.92 MB, free: 5.531 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.29/1.29, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.1979/0.1979, 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.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP",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.002149/0.002149, allocations: 87.84 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2596, allocations: 65.98 MB / 0.5584 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01173/0.2713, allocations: 10.89 MB / 0.5691 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.2773, allocations: 3.454 MB / 0.5724 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.278, allocations: 55.94 kB / 0.5725 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005372/0.2833, allocations: 3.33 MB / 0.5757 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.2849, allocations: 0.8242 MB / 0.5765 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2862, allocations: 0.6471 MB / 0.5772 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.2883, allocations: 1.971 MB / 0.5791 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.2911, allocations: 2.692 MB / 0.5817 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.2925, allocations: 1.243 MB / 0.5829 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.2945, allocations: 1.737 MB / 0.5846 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.2949, allocations: 344 kB / 0.585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.2963, allocations: 0.9441 MB / 0.5859 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.2976, allocations: 1.551 MB / 0.5874 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.2991, allocations: 1.733 MB / 0.5891 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.3043, allocations: 5.706 MB / 0.5947 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3043, allocations: 0 / 0.5947 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3043, allocations: 0 / 0.5947 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.9e-05/0.3044, allocations: 3.938 kB / 0.5947 GB, free: 15.88 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.006527/0.3109, allocations: 3.813 MB / 0.5984 GB, free: 11.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.311, allocations: 12.03 kB / 0.5984 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006399/0.3116, allocations: 0.5329 MB / 0.5989 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.3137, allocations: 0.5917 MB / 0.5995 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.3166, allocations: 1.775 MB / 0.6012 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3167, allocations: 209.6 kB / 0.6014 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.3171, allocations: 275.9 kB / 0.6017 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.3302, allocations: 7.622 MB / 0.6091 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.3303, allocations: 11.88 kB / 0.6092 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/0.3306, allocations: 123.9 kB / 0.6093 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/0.3321, allocations: 1.11 MB / 0.6104 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.3434, allocations: 6.182 MB / 0.6164 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.3683, allocations: 22.85 MB / 0.6387 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/0.374, allocations: 1.796 MB / 0.6405 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.3751, allocations: 0.7339 MB / 0.6412 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007145/0.3822, allocations: 5.881 MB / 0.6469 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3822, allocations: 43.22 kB / 0.647 GB, free: 8.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=75): time 2.244e-06/0.3823, allocations: 0 / 0.647 GB, free: 8.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=94): time 0.01362/0.3959, allocations: 4.49 MB / 0.6514 GB, free: 4.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3959, allocations: 64.41 kB / 0.6514 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.3987, allocations: 2.279 MB / 0.6536 GB, free: 1.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.3987, allocations: 41.7 kB / 0.6537 GB, free: 1.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.4002, allocations: 2.122 MB / 0.6558 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.4004, allocations: 393 kB / 0.6561 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007776/0.4012, allocations: 0.6949 MB / 0.6568 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4014, allocations: 304.9 kB / 0.6571 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4028, allocations: 0.9084 MB / 0.658 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.4061, allocations: 2.961 MB / 0.6609 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/0.4111, allocations: 4.213 MB / 0.665 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/0.4111, allocations: 20 kB / 0.665 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005612/0.4167, allocations: 3.779 MB / 0.6687 GB, free: 272 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.4168, allocations: 36 kB / 0.6687 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.062e-05/0.4168, allocations: 72 kB / 0.6688 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.236e-05/0.4169, allocations: 107.9 kB / 0.6689 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.4191, allocations: 0.7842 MB / 0.6697 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/0.4192, allocations: 151.4 kB / 0.6698 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.4207, allocations: 151.9 kB / 0.67 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.421, allocations: 203.9 kB / 0.6702 GB, free: 14.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (436): * Single equations (assignments): 436 * 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.001909/0.4229, allocations: 1.415 MB / 0.6715 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.4231, allocations: 210.6 kB / 0.6717 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.4235, allocations: 241 kB / 0.672 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4235, allocations: 8 kB / 0.672 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.4235, allocations: 0 / 0.672 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4236, allocations: 3.984 kB / 0.672 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.4305, allocations: 5.344 MB / 0.6772 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.4305, allocations: 23.98 kB / 0.6772 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.4312, allocations: 215.6 kB / 0.6774 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/0.4312, allocations: 28 kB / 0.6775 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.4313, allocations: 44.62 kB / 0.6775 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.924e-05/0.4313, allocations: 39.8 kB / 0.6775 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.4313, allocations: 35.81 kB / 0.6776 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4332, allocations: 1.724 MB / 0.6793 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.4336, allocations: 311.6 kB / 0.6796 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.4338, allocations: 51.98 kB / 0.6796 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.4345, allocations: 43.92 kB / 0.6796 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.4346, allocations: 143.3 kB / 0.6798 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.4347, allocations: 52 kB / 0.6798 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001882/0.4366, allocations: 1.469 MB / 0.6813 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4366, allocations: 0 / 0.6813 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002295/0.4389, allocations: 0.5624 MB / 0.6818 GB, free: 2.172 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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 (118): * Single equations (assignments): 118 * 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.002447/0.4413, allocations: 2.384 MB / 0.6841 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003193/0.4445, allocations: 2.066 MB / 0.6862 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.4445, allocations: 0 / 0.6862 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.4452, allocations: 489.4 kB / 0.6866 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.4468, allocations: 363.8 kB / 0.687 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.4793, allocations: 24.43 MB / 0.7108 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/0.4818, allocations: 2.46 MB / 0.7132 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001971/0.4838, allocations: 0.9096 MB / 0.7141 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.4853, allocations: 1.237 MB / 0.7153 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.4853, allocations: 0 / 0.7153 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.7438, allocations: 41.51 MB / 0.7559 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.14, allocations: 4.062 kB / 0.7559 GB, free: 140.2 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.70344691000355]