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.001425/0.001425, 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.001649/0.001649, allocations: 221.2 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.297/1.297, allocations: 230.2 MB / 256.1 MB, free: 8.746 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.203/0.203, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.002137/0.002137, allocations: 79.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2586, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01055/0.2691, allocations: 9.65 MB / 0.5678 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.2742, allocations: 3.249 MB / 0.571 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.2746, allocations: 51.88 kB / 0.5711 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004303/0.2789, allocations: 2.675 MB / 0.5737 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2799, allocations: 0.6297 MB / 0.5743 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.2809, allocations: 0.5223 MB / 0.5748 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.2823, allocations: 1.468 MB / 0.5762 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.2845, allocations: 2.135 MB / 0.5783 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.2855, allocations: 0.9543 MB / 0.5793 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.287, allocations: 1.336 MB / 0.5806 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.2873, allocations: 272 kB / 0.5808 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.2885, allocations: 0.827 MB / 0.5816 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.2895, allocations: 1.192 MB / 0.5828 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.2907, allocations: 1.341 MB / 0.5841 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004016/0.2947, allocations: 4.437 MB / 0.5884 GB, free: 6.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2947, allocations: 0 / 0.5884 GB, free: 6.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2947, allocations: 4 kB / 0.5884 GB, free: 6.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.2947, allocations: 0 / 0.5884 GB, free: 6.309 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.004248/0.299, allocations: 2.839 MB / 0.5912 GB, free: 3.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.299, allocations: 8.031 kB / 0.5912 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000458/0.2995, allocations: 426.9 kB / 0.5916 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.3005, allocations: 370.8 kB / 0.592 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.3022, allocations: 1.244 MB / 0.5932 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3024, allocations: 172.4 kB / 0.5934 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.3027, allocations: 223.9 kB / 0.5936 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009095/0.3118, allocations: 5.608 MB / 0.599 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.3118, allocations: 15.88 kB / 0.5991 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.312, allocations: 95.94 kB / 0.5992 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/0.3131, allocations: 0.7811 MB / 0.5999 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008518/0.3216, allocations: 4.291 MB / 0.6041 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/0.3387, allocations: 17.09 MB / 0.6208 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.3425, allocations: 1.208 MB / 0.622 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.3431, allocations: 362.3 kB / 0.6223 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.3449, allocations: 2.145 MB / 0.6244 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.345, allocations: 43.06 kB / 0.6245 GB, free: 176 kB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 4.919e-06/0.345, allocations: 4 kB / 0.6245 GB, free: 172 kB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.0195/0.3645, allocations: 5.393 MB / 0.6297 GB, free: 10.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3645, allocations: 64.41 kB / 0.6298 GB, free: 10.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.3666, allocations: 1.725 MB / 0.6315 GB, free: 8.957 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.3666, allocations: 45.7 kB / 0.6315 GB, free: 8.906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3677, allocations: 1.562 MB / 0.633 GB, free: 7.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.368, allocations: 420.6 kB / 0.6334 GB, free: 6.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.3686, allocations: 0.5286 MB / 0.634 GB, free: 6.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3688, allocations: 301.1 kB / 0.6342 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3699, allocations: 0.782 MB / 0.635 GB, free: 5.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.3722, allocations: 2.219 MB / 0.6372 GB, free: 2.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.376, allocations: 3.279 MB / 0.6404 GB, free: 14.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.376, allocations: 12 kB / 0.6404 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00428/0.3803, allocations: 3.009 MB / 0.6433 GB, free: 11.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.3803, allocations: 32.03 kB / 0.6434 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.3803, allocations: 55.94 kB / 0.6434 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.3804, allocations: 68 kB / 0.6435 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.3821, allocations: 0.6004 MB / 0.6441 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.374e-05/0.3822, allocations: 99.64 kB / 0.6442 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3833, allocations: 115.9 kB / 0.6443 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.3835, allocations: 148 kB / 0.6444 GB, free: 10.24 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.0014/0.3849, allocations: 1.137 MB / 0.6455 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.3851, allocations: 170.8 kB / 0.6457 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.3854, allocations: 204.8 kB / 0.6459 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3854, allocations: 8 kB / 0.6459 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.3855, allocations: 4 kB / 0.6459 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3855, allocations: 7.984 kB / 0.6459 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.3933, allocations: 6.073 MB / 0.6518 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.3933, allocations: 20 kB / 0.6518 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.394, allocations: 204.5 kB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/0.394, allocations: 28 kB / 0.6521 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.394, allocations: 48 kB / 0.6521 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.329e-05/0.3941, allocations: 47.73 kB / 0.6522 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-05/0.3941, allocations: 31.88 kB / 0.6522 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.396, allocations: 1.679 MB / 0.6538 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.3963, allocations: 267.9 kB / 0.6541 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.3964, allocations: 47.92 kB / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.397, allocations: 40 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.3972, allocations: 135.3 kB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.3972, allocations: 60 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001385/0.3986, allocations: 1.135 MB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3986, allocations: 0 / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001697/0.4003, allocations: 463.9 kB / 0.6559 GB, free: 13.79 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.002348/0.4027, allocations: 2.325 MB / 0.6582 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.4052, allocations: 1.754 MB / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4052, allocations: 384 / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.4059, allocations: 482.4 kB / 0.6604 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4072, allocations: 282.1 kB / 0.6606 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.4324, allocations: 19.78 MB / 0.6799 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.4345, allocations: 2.073 MB / 0.682 GB, free: 352 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001507/0.436, allocations: 0.6711 MB / 0.6826 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.4372, allocations: 0.9562 MB / 0.6835 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.4372, allocations: 0 / 0.6835 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06469/0.5018, allocations: 35.3 MB / 0.718 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.926/10.43, allocations: 0 / 0.718 GB, free: 11.58 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.192307839999557]